pub enum Duplex {
Full,
Half,
}Expand description
Whether the medium can transmit and receive simultaneously.
Only the two variants that change behaviour exist. The withdrawn ICD series carried five, three of which had no consequence anywhere in the specification; new variants are added here when something acts on them.
Variants§
Full
Transmit and receive are independent.
Half
Transmitting blocks receiving and vice versa, as on a shared RF channel.
Trait Implementations§
impl Copy for Duplex
impl Eq for Duplex
impl StructuralPartialEq for Duplex
Auto Trait Implementations§
impl Freeze for Duplex
impl RefUnwindSafe for Duplex
impl Send for Duplex
impl Sync for Duplex
impl Unpin for Duplex
impl UnsafeUnpin for Duplex
impl UnwindSafe for Duplex
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