[−][src]Struct flate2::DecompressError
pub struct DecompressError(_);
Error returned when a decompression object finds that the input stream of bytes was not a valid input stream of bytes.
Methods
impl DecompressError
[src]
impl DecompressError
pub fn needs_dictionary(&self) -> Option<u32>
[src]
pub fn needs_dictionary(&self) -> Option<u32>
Indicates whether decompression failed due to requiring a dictionary.
The resulting integer is the Adler-32 checksum of the dictionary required.
Trait Implementations
impl Debug for DecompressError
[src]
impl Debug for DecompressError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for DecompressError
[src]
impl Error for DecompressError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl From<DecompressError> for Error
[src]
impl From<DecompressError> for Error
fn from(data: DecompressError) -> Error
[src]
fn from(data: DecompressError) -> Error
Performs the conversion.
impl Display for DecompressError
[src]
impl Display for DecompressError
Auto Trait Implementations
impl Send for DecompressError
impl Send for DecompressError
impl Sync for DecompressError
impl Sync for DecompressError