Enum bsa::ReadError [−][src]
#[non_exhaustive]
pub enum ReadError {
MissingHeader,
UnknownVersion(u32),
UnexpectedFolderRecordOffset,
UnknownCompressionAlgorithm,
ExpectedNullByte,
UnexpectedEndOfFile,
FailedToReadFileOffset,
ReaderError(Error),
FailedToEncodeCharacter(EncodingError),
IncorrectHash(IncorrectHashError),
}Expand description
Represents an error when reading a BSA file
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.
Tuple Fields of UnknownVersion
0: u32Tuple Fields of ReaderError
0: Error