pub struct Wrapper<TX, RX>(/* private fields */)
where
TX: Write<u8>,
RX: Read<u8>;Expand description
Combines two serial traits objects into one
Trait Implementations§
Auto Trait Implementations§
impl<TX, RX> Freeze for Wrapper<TX, RX>
impl<TX, RX> RefUnwindSafe for Wrapper<TX, RX>where
TX: RefUnwindSafe,
RX: RefUnwindSafe,
impl<TX, RX> Send for Wrapper<TX, RX>
impl<TX, RX> Sync for Wrapper<TX, RX>
impl<TX, RX> Unpin for Wrapper<TX, RX>
impl<TX, RX> UnsafeUnpin for Wrapper<TX, RX>where
TX: UnsafeUnpin,
RX: UnsafeUnpin,
impl<TX, RX> UnwindSafe for Wrapper<TX, RX>where
TX: UnwindSafe,
RX: UnwindSafe,
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