pub struct StdWriter<W>(pub W);Expand description
Adapter that implements PbWrite for all implementers of std::io::Write, allowing the
encoder to write to std writers.
Tuple Fields§
§0: WTrait Implementations§
Auto Trait Implementations§
impl<W> Freeze for StdWriter<W>where
W: Freeze,
impl<W> RefUnwindSafe for StdWriter<W>where
W: RefUnwindSafe,
impl<W> Send for StdWriter<W>where
W: Send,
impl<W> Sync for StdWriter<W>where
W: Sync,
impl<W> Unpin for StdWriter<W>where
W: Unpin,
impl<W> UnwindSafe for StdWriter<W>where
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