Enum asuran_core::repository::chunk::ChunkError [−][src]
#[non_exhaustive]
pub enum ChunkError {
CompressionError(CompressionError),
EncryptionError(EncryptionError),
KeyError(KeyError),
HMACValidationFailed,
}
Expand description
Error for all the various things that can go wrong with handling chunks
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.
CompressionError(CompressionError)
Tuple Fields of CompressionError
EncryptionError(EncryptionError)
Tuple Fields of EncryptionError
KeyError(KeyError)
Tuple Fields of KeyError
0: KeyError
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ChunkError
impl Send for ChunkError
impl Sync for ChunkError
impl Unpin for ChunkError
impl !UnwindSafe for ChunkError
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