Enum Comm
#[repr(u8)]pub enum Comm {
FullDuplex = 0,
Transmitter = 1,
Receiver = 2,
HalfDuplex = 3,
}Variants§
FullDuplex = 0
Full duplex
Transmitter = 1
Simplex transmitter only
Receiver = 2
Simplex receiver only
HalfDuplex = 3
Half duplex
Implementations§
Trait Implementations§
impl Copy for Comm
impl Eq for Comm
§impl Ord for Comm
impl Ord for Comm
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 Comm
impl PartialOrd for Comm
impl StructuralPartialEq for Comm
Auto Trait Implementations§
impl Freeze for Comm
impl RefUnwindSafe for Comm
impl Send for Comm
impl Sync for Comm
impl Unpin for Comm
impl UnsafeUnpin for Comm
impl UnwindSafe for Comm
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