Enum asuran::repository::RepositoryError [−][src]
#[non_exhaustive]
pub enum RepositoryError {
ChunkNotFound,
ChunkerError(ChunkError),
BackendError(BackendError),
}
Expand description
An 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.
ChunkerError(ChunkError)
Tuple Fields of ChunkerError
0: ChunkError
BackendError(BackendError)
Tuple Fields of BackendError
0: BackendError
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for RepositoryError
impl Send for RepositoryError
impl Sync for RepositoryError
impl Unpin for RepositoryError
impl !UnwindSafe for RepositoryError
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