#[non_exhaustive]
pub enum VpkError {
InvalidHeader(String),
InvalidMethod(u8),
BadLookBack(usize, usize),
BadTreeEncoding,
BadUserTree(EncodeTreeParseErr),
InputTooBig(TryFromIntError),
Utf8Error(Utf8Error),
Io(Error),
}
Expand description
Possible errors that arise from compressing or decompressing a vpk0
binary
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidHeader(String)
InvalidMethod(u8)
BadLookBack(usize, usize)
BadTreeEncoding
BadUserTree(EncodeTreeParseErr)
InputTooBig(TryFromIntError)
Utf8Error(Utf8Error)
Io(Error)
Trait Implementations
Performs the conversion.
Performs the conversion.