pub struct Writer<W: Write> { /* private fields */ }Expand description
A bridge between std::io::Write and std::fmt::Write.
This struct provides fmt::Write implementation for inner
writers implementing io::Write. It must be used within the
write() function.
See the documentation of write() for more information.
Trait Implementations§
Auto Trait Implementations§
impl<W> Freeze for Writer<W>where
W: Freeze,
impl<W> !RefUnwindSafe for Writer<W>
impl<W> Send for Writer<W>where
W: Send,
impl<W> Sync for Writer<W>where
W: Sync,
impl<W> Unpin for Writer<W>where
W: Unpin,
impl<W> !UnwindSafe for Writer<W>
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