Struct zstd::stream::write::AutoFinishEncoder [−][src]
A wrapper around an Encoder<W>
that finishes the stream on drop.
Implementations
impl<W: Write> AutoFinishEncoder<W>
[src][−]
pub fn get_ref(&self) -> &W
[src][−]
Acquires a reference to the underlying writer.
pub fn get_mut(&mut self) -> &mut W
[src][−]
Acquires a mutable reference to the underlying writer.
Note that mutation of the writer may result in surprising results if this encoder is continued to be used.
Trait Implementations
impl<W: Write> Drop for AutoFinishEncoder<W>
[src][+]
impl<W: Write> Write for AutoFinishEncoder<W>
[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,
impl<W> !UnwindSafe for AutoFinishEncoder<W>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,