pub enum BlobReadError {
Show 13 variants
Cancelled,
TraversalState,
WrongRootKind,
InvalidRange,
InvalidLimits,
AllocationFailed,
CycleOrHeight,
ChildBoundsMismatch,
IncompleteCoverage,
ChunkLengthMismatch,
Storage(ObjectStoreError),
Decode(CanonicalDecodeError),
Work(WorkError),
}Expand description
Stable authenticated blob-read errors.
Variants§
Cancelled
Cooperative cancellation occurred before the next storage boundary.
TraversalState
The private resumable reader entered an impossible transition.
WrongRootKind
Root has the wrong typed object class.
InvalidRange
Requested range overflows or exceeds the blob.
InvalidLimits
Decode and traversal limits are invalid or unrepresentable.
AllocationFailed
Bounded output, decode, or traversal scratch allocation failed.
CycleOrHeight
Graph repeats a page or exceeds its height bound.
ChildBoundsMismatch
Parent routing bounds do not match the authenticated child.
IncompleteCoverage
Intersecting chunks did not cover the exact request.
ChunkLengthMismatch
Authenticated chunk bytes do not equal the indexed logical span.
Storage(ObjectStoreError)
Immutable-object backend rejected a read.
Decode(CanonicalDecodeError)
Canonical page failed decoding.
Work(WorkError)
Exact work exceeded or overflowed its budget.
Trait Implementations§
Source§impl Debug for BlobReadError
impl Debug for BlobReadError
Source§impl Display for BlobReadError
impl Display for BlobReadError
Source§impl Error for BlobReadError
impl Error for BlobReadError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<BlobReadError> for FsError
impl From<BlobReadError> for FsError
Source§fn from(source: BlobReadError) -> Self
fn from(source: BlobReadError) -> Self
Converts to this type from the input type.
Source§impl From<BlobReadError> for FileRangeReadError
impl From<BlobReadError> for FileRangeReadError
Source§fn from(source: BlobReadError) -> Self
fn from(source: BlobReadError) -> Self
Converts to this type from the input type.
Source§impl From<BlobReadError> for AuthenticatedProbeError
impl From<BlobReadError> for AuthenticatedProbeError
Source§fn from(source: BlobReadError) -> Self
fn from(source: BlobReadError) -> Self
Converts to this type from the input type.
Source§impl From<BlobReadError> for RegularMutationError
impl From<BlobReadError> for RegularMutationError
Source§fn from(source: BlobReadError) -> Self
fn from(source: BlobReadError) -> Self
Converts to this type from the input type.
Source§impl From<CanonicalDecodeError> for BlobReadError
impl From<CanonicalDecodeError> for BlobReadError
Source§fn from(source: CanonicalDecodeError) -> Self
fn from(source: CanonicalDecodeError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for BlobReadError
impl From<ObjectStoreError> for BlobReadError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for BlobReadError
impl !UnwindSafe for BlobReadError
impl Freeze for BlobReadError
impl Send for BlobReadError
impl Sync for BlobReadError
impl Unpin for BlobReadError
impl UnsafeUnpin for BlobReadError
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request