[−][src]Trait comde::com::Compressor
Required methods
fn new() -> Self
fn compress<W: Write + Seek, R: Read>(
&self,
writer: &mut W,
reader: &mut R
) -> Result<ByteCount>
&self,
writer: &mut W,
reader: &mut R
) -> Result<ByteCount>
Provided methods
Loading content...Implementors
impl Compressor for BrotliCompressor
[src]
fn new() -> Self
[src]
fn compress<W: Write + Seek, R: Read>(
&self,
writer: &mut W,
reader: &mut R
) -> Result<ByteCount>
[src]
&self,
writer: &mut W,
reader: &mut R
) -> Result<ByteCount>
impl Compressor for DeflateCompressor
[src]
fn new() -> Self
[src]
fn compress<W: Write + Seek, R: Read>(
&self,
writer: &mut W,
reader: &mut R
) -> Result<ByteCount>
[src]
&self,
writer: &mut W,
reader: &mut R
) -> Result<ByteCount>
impl Compressor for SnappyCompressor
[src]
fn new() -> Self
[src]
fn compress<W: Write + Seek, R: Read>(
&self,
writer: &mut W,
reader: &mut R
) -> Result<ByteCount>
[src]
&self,
writer: &mut W,
reader: &mut R
) -> Result<ByteCount>
impl Compressor for StoredCompressor
[src]
fn new() -> Self
[src]
fn compress<W: Write + Seek, R: Read>(
&self,
writer: &mut W,
reader: &mut R
) -> Result<ByteCount>
[src]
&self,
writer: &mut W,
reader: &mut R
) -> Result<ByteCount>
impl Compressor for XzCompressor
[src]
fn new() -> Self
[src]
fn compress<W: Write + Seek, R: Read>(
&self,
writer: &mut W,
reader: &mut R
) -> Result<ByteCount>
[src]
&self,
writer: &mut W,
reader: &mut R
) -> Result<ByteCount>