pub trait DecodedSize {
// Required method
fn decoded_size(input: &[u8]) -> Result<u64>;
}Required Methods§
Sourcefn decoded_size(input: &[u8]) -> Result<u64>
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§
impl DecodedSize for LzmaDecoder
Available on crate feature
lzma only.impl DecodedSize for Xz2Decoder
Available on crate feature
lzma only.impl DecodedSize for XzDecoder
Available on crate feature
xz only.impl DecodedSize for ZstdDecoder
Available on crate feature
zstd only.