#[repr(u8)]pub enum P1statRdstat {
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 P1statRdstat
impl P1statRdstat
Trait Implementations§
Source§impl Clone for P1statRdstat
impl Clone for P1statRdstat
Source§fn clone(&self) -> P1statRdstat
fn clone(&self) -> P1statRdstat
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 P1statRdstat
impl Debug for P1statRdstat
Source§impl From<P1statRdstat> for u8
impl From<P1statRdstat> for u8
Source§fn from(val: P1statRdstat) -> u8
fn from(val: P1statRdstat) -> u8
Converts to this type from the input type.
Source§impl From<u8> for P1statRdstat
impl From<u8> for P1statRdstat
Source§fn from(val: u8) -> P1statRdstat
fn from(val: u8) -> P1statRdstat
Converts to this type from the input type.
Source§impl Ord for P1statRdstat
impl Ord for P1statRdstat
Source§fn cmp(&self, other: &P1statRdstat) -> Ordering
fn cmp(&self, other: &P1statRdstat) -> 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 P1statRdstat
impl PartialEq for P1statRdstat
Source§impl PartialOrd for P1statRdstat
impl PartialOrd for P1statRdstat
impl Copy for P1statRdstat
impl Eq for P1statRdstat
impl StructuralPartialEq for P1statRdstat
Auto Trait Implementations§
impl Freeze for P1statRdstat
impl RefUnwindSafe for P1statRdstat
impl Send for P1statRdstat
impl Sync for P1statRdstat
impl Unpin for P1statRdstat
impl UnwindSafe for P1statRdstat
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