DecodedSize

Trait DecodedSize 

Source
pub trait DecodedSize {
    // Required method
    fn decoded_size(input: &[u8]) -> Result<u64>;
}

Required Methods§

Source

fn decoded_size(input: &[u8]) -> Result<u64>

Returns the size of the input when uncompressed.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl DecodedSize for LzmaDecoder

Available on crate feature lzma only.
Source§

impl DecodedSize for Xz2Decoder

Available on crate feature lzma only.
Source§

impl DecodedSize for XzDecoder

Available on crate feature xz only.
Source§

impl DecodedSize for ZstdDecoder

Available on crate feature zstd only.