pub enum Duplex {
Full,
Half(HalfDuplexReadback),
}Expand description
Duplex mode
Variants§
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToMutAligned for Twhere
T: ?Sized,
impl<T> ToMutAligned for Twhere
T: ?Sized,
Source§fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
Create a type-checked aligned value from a value that is aligned.