pub enum BlobError {
Show 17 variants
Store(String),
MissingBlob(BlobHash),
HashMismatch,
WrongDomainOrEpoch,
AuthenticationFailed,
EncryptionFailed,
KeyDerivationFailed,
InvalidManifest,
Codec(String),
InvalidChunkSize(usize),
BlobTooLarge,
Read(String),
RandomnessUnavailable,
NoProviders,
InvalidFetchConcurrency(usize),
SchedulerUnavailable,
FetchCancelled,
}Expand description
Encrypted manifest, chunk, streaming or storage failure.
Variants§
Store(String)
The immutable blob repository failed.
MissingBlob(BlobHash)
A referenced immutable object was absent locally.
HashMismatch
Bytes did not match their content address.
WrongDomainOrEpoch
The reference belongs to another domain or epoch.
AuthenticationFailed
An encrypted object failed AEAD authentication.
EncryptionFailed
Encryption failed.
KeyDerivationFailed
A domain-separated object key could not be derived.
InvalidManifest
A manifest violated canonical format or structural invariants.
Codec(String)
A canonical blob object could not be encoded or decoded.
InvalidChunkSize(usize)
Configured chunks were outside the supported range.
BlobTooLarge
Platform or manifest bounds cannot represent this blob.
Read(String)
Reading a plaintext import stream failed.
The operating-system cryptographic random source failed.
NoProviders
A remote stream was opened without any usable provider.
InvalidFetchConcurrency(usize)
The configured process-wide remote object concurrency was zero.
The in-process fetch scheduler could not admit work safely.
FetchCancelled
A coalesced remote fetch owner was cancelled before completing.
Trait Implementations§
Source§impl Error for BlobError
impl Error for BlobError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl From<BlobStoreError> for BlobError
impl From<BlobStoreError> for BlobError
Source§fn from(error: BlobStoreError) -> BlobError
fn from(error: BlobStoreError) -> BlobError
impl Eq for BlobError
impl StructuralPartialEq for BlobError
Auto Trait Implementations§
impl Freeze for BlobError
impl RefUnwindSafe for BlobError
impl Send for BlobError
impl Sync for BlobError
impl Unpin for BlobError
impl UnwindSafe for BlobError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more