Struct zstd::stream::write::AutoFinishEncoder [−][src]
pub struct AutoFinishEncoder<W: Write> { /* fields omitted */ }
A wrapper around an Encoder<W>
that finishes the stream on drop.
Implementations
impl<W: Write> AutoFinishEncoder<W>
[src]
impl<W: Write> AutoFinishEncoder<W>
[src]Trait Implementations
impl<W: Write> Write for AutoFinishEncoder<W>
[src]
impl<W: Write> Write for AutoFinishEncoder<W>
[src]fn write(&mut self, buf: &[u8]) -> Result<usize>
[src]
fn flush(&mut self) -> Result<()>
[src]
pub fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize, Error>
1.36.0[src]
pub fn is_write_vectored(&self) -> bool
[src]
pub fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
1.0.0[src]
pub fn write_all_vectored(
&mut self,
bufs: &mut [IoSlice<'_>]
) -> Result<(), Error>
[src]
&mut self,
bufs: &mut [IoSlice<'_>]
) -> Result<(), Error>
pub fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<(), Error>
1.0.0[src]
pub fn by_ref(&mut self) -> &mut Self
1.0.0[src]
Auto Trait Implementations
impl<W> !RefUnwindSafe for AutoFinishEncoder<W>
impl<W> !Send for AutoFinishEncoder<W>
impl<W> !Sync for AutoFinishEncoder<W>
impl<W> Unpin for AutoFinishEncoder<W> where
W: Unpin,
W: Unpin,