pub struct Modem<'a, T: Write, U: Read> {
pub writer: &'a mut T,
pub reader: &'a mut U,
}Fields§
§writer: &'a mut T§reader: &'a mut UImplementations§
Auto Trait Implementations§
impl<'a, T, U> Freeze for Modem<'a, T, U>
impl<'a, T, U> RefUnwindSafe for Modem<'a, T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<'a, T, U> Send for Modem<'a, T, U>
impl<'a, T, U> Sync for Modem<'a, T, U>
impl<'a, T, U> Unpin for Modem<'a, T, U>
impl<'a, T, U> !UnwindSafe for Modem<'a, T, U>
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