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 Ord for Comm
impl Ord for Comm
§impl PartialOrd for Comm
impl PartialOrd for Comm
impl Copy for Comm
impl Eq 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)