pub struct WriteSink<W: Write> {
pub written: usize,
/* private fields */
}Expand description
Streams projected bytes to W (no full-output buffer).
Fields§
§written: usizeTotal bytes successfully written.
Implementations§
Auto Trait Implementations§
impl<W> Freeze for WriteSink<W>where
W: Freeze,
impl<W> RefUnwindSafe for WriteSink<W>where
W: RefUnwindSafe,
impl<W> Send for WriteSink<W>where
W: Send,
impl<W> Sync for WriteSink<W>where
W: Sync,
impl<W> Unpin for WriteSink<W>where
W: Unpin,
impl<W> UnsafeUnpin for WriteSink<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for WriteSink<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