#[repr(u8)]pub enum P2statRdstat {
RDSTAT0 = 0,
RDSTAT1 = 1,
RDSTAT2 = 2,
RDSTAT3 = 3,
}Variants§
RDSTAT0 = 0
Endpoint or index-and-data: Empty. Mailbox: Empty (host read to end). Master/Flash: No requests.
RDSTAT1 = 1
Endpoint or index-and-data: Data waiting from MCU. Mailbox: Started (by MCU). Master/Flash: Started. From-host: goes to Pending next. To-host: goes to Complete next. SAF: host made request: Started.
RDSTAT2 = 2
Mailbox: Complete (by MCU). Master/Flash: Complete. SAF: Complete.
RDSTAT3 = 3
Mailbox: Partially read (by host). Master/Flash: From-host only, Pending (request made); goes to Complete next. SAF: MCU has setup completion.
Implementations§
Source§impl P2statRdstat
impl P2statRdstat
Trait Implementations§
Source§impl Clone for P2statRdstat
impl Clone for P2statRdstat
Source§fn clone(&self) -> P2statRdstat
fn clone(&self) -> P2statRdstat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for P2statRdstat
impl Debug for P2statRdstat
Source§impl From<P2statRdstat> for u8
impl From<P2statRdstat> for u8
Source§fn from(val: P2statRdstat) -> u8
fn from(val: P2statRdstat) -> u8
Converts to this type from the input type.
Source§impl From<u8> for P2statRdstat
impl From<u8> for P2statRdstat
Source§fn from(val: u8) -> P2statRdstat
fn from(val: u8) -> P2statRdstat
Converts to this type from the input type.
Source§impl Ord for P2statRdstat
impl Ord for P2statRdstat
Source§fn cmp(&self, other: &P2statRdstat) -> Ordering
fn cmp(&self, other: &P2statRdstat) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for P2statRdstat
impl PartialEq for P2statRdstat
Source§impl PartialOrd for P2statRdstat
impl PartialOrd for P2statRdstat
impl Copy for P2statRdstat
impl Eq for P2statRdstat
impl StructuralPartialEq for P2statRdstat
Auto Trait Implementations§
impl Freeze for P2statRdstat
impl RefUnwindSafe for P2statRdstat
impl Send for P2statRdstat
impl Sync for P2statRdstat
impl Unpin for P2statRdstat
impl UnwindSafe for P2statRdstat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more