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