Enum asuran_core::repository::backend::flatfile::FlatFileError [−][src]
#[non_exhaustive]
pub enum FlatFileError {
IOError(Error),
Decode(Error),
KeyTooLong,
InvalidMagicNumber,
SemverToHigh(u64, Version),
ChunkError(ChunkError),
}
Expand description
An error for things that go wrong with interacting with flatfile transactions and headers
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.
IOError(Error)
Tuple Fields of IOError
0: Error
Decode(Error)
Tuple Fields of Decode
0: Error
ChunkError(ChunkError)
Tuple Fields of ChunkError
0: ChunkError
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for FlatFileError
impl Send for FlatFileError
impl Sync for FlatFileError
impl Unpin for FlatFileError
impl !UnwindSafe for FlatFileError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more