Lines Matching refs:DecompressError
125 pub struct DecompressError(pub(crate) DecompressErrorInner); struct
127 impl DecompressError { impl
138 pub(crate) fn decompress_failed() -> Result<Status, DecompressError> { in decompress_failed()
139 Err(DecompressError(Default::default())) in decompress_failed()
143 pub(crate) fn decompress_need_dict(adler: u32) -> Result<Status, DecompressError> { in decompress_need_dict() argument
144 Err(DecompressError(DecompressErrorInner { in decompress_need_dict()
463 ) -> Result<Status, DecompressError> { in decompress() argument
486 ) -> Result<Status, DecompressError> { in decompress_vec() argument
504 pub fn set_dictionary(&mut self, dictionary: &[u8]) -> Result<u32, DecompressError> { in set_dictionary() argument
512 ffi::MZ_STREAM_ERROR => Err(DecompressError(Default::default())), in set_dictionary()
513 ffi::MZ_DATA_ERROR => Err(DecompressError(DecompressErrorInner { in set_dictionary()
534 impl Error for DecompressError {} implementation
536 impl From<DecompressError> for io::Error {
537 fn from(data: DecompressError) -> io::Error { in from()
542 impl fmt::Display for DecompressError { implementation