AutoFinish

Trait AutoFinish 

Source
pub trait AutoFinish {
    // Required method
    fn finish_ignore_error(self);
}
Expand description

A trait for writers that finishes the stream on drop.

Required Methods§

Source

fn finish_ignore_error(self)

Finish writing the stream without error handling.

Implementors§

Source§

impl<W: AsyncWrite + AsyncSeek + Unpin> AutoFinish for ArchiveWriter<W>

Available on crate feature compress only.