pub struct ReadWrite<R, W> {
pub reader: R,
pub writer: W,
}
Fields§
§reader: R
§writer: W
Auto Trait Implementations§
impl<R, W> Freeze for ReadWrite<R, W>
impl<R, W> RefUnwindSafe for ReadWrite<R, W>where
R: RefUnwindSafe,
W: RefUnwindSafe,
impl<R, W> Send for ReadWrite<R, W>
impl<R, W> Sync for ReadWrite<R, W>
impl<R, W> Unpin for ReadWrite<R, W>
impl<R, W> UnwindSafe for ReadWrite<R, W>where
R: UnwindSafe,
W: 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