Enum stm32_metapac::eth::vals::Rps
#[repr(u8)]pub enum Rps {
STOPPED = 0,
RUNNINGFETCHING = 1,
_RESERVED_2 = 2,
RUNNINGWAITING = 3,
SUSPENDED = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
RUNNINGWRITING = 7,
}
Variants§
STOPPED = 0
Stopped, reset or Stop Receive command issued
RUNNINGFETCHING = 1
Running, fetching receive transfer descriptor
_RESERVED_2 = 2
RUNNINGWAITING = 3
Running, waiting for receive packet
SUSPENDED = 4
Suspended, receive descriptor unavailable
_RESERVED_5 = 5
_RESERVED_6 = 6
RUNNINGWRITING = 7
Running, writing data to host memory buffer
Implementations§
Trait Implementations§
§impl Ord for Rps
impl Ord for Rps
§impl PartialOrd for Rps
impl PartialOrd for Rps
§fn partial_cmp(&self, other: &Rps) -> Option<Ordering>
fn partial_cmp(&self, other: &Rps) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Rps
impl Eq for Rps
impl StructuralEq for Rps
impl StructuralPartialEq for Rps
Auto Trait Implementations§
impl RefUnwindSafe for Rps
impl Send for Rps
impl Sync for Rps
impl Unpin for Rps
impl UnwindSafe for Rps
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