Enum 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 Copy for Rps
impl Eq for Rps
§impl Ord for Rps
impl Ord for Rps
1.21.0 (const: unstable) · 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
§impl PartialOrd for Rps
impl PartialOrd for Rps
impl StructuralPartialEq for Rps
Auto Trait Implementations§
impl Freeze for Rps
impl RefUnwindSafe for Rps
impl Send for Rps
impl Sync for Rps
impl Unpin for Rps
impl UnsafeUnpin 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