pub enum ExtentReadError {
Show 16 variants
Cancelled,
TraversalState,
WrongRootKind,
InvalidRange,
InvalidSpanLimit,
AllocationFailed,
InvalidLimits,
TooManySpans,
Cycle,
HeightExceeded,
ChildBoundsMismatch,
IncompleteCoverage,
PageTooLarge {
observed: u64,
maximum: u64,
},
Storage(ObjectStoreError),
Decode(CanonicalDecodeError),
Work(WorkError),
}Expand description
Sparse extent range-planning failures.
Variants§
Cancelled
Cooperative cancellation occurred before the next storage boundary.
TraversalState
The private driver attempted an impossible transition.
WrongRootKind
Root object is not an authenticated extent page.
InvalidRange
Requested range exceeds the file or overflows.
InvalidSpanLimit
Requested output-span bound must be positive for a non-empty range.
AllocationFailed
Decode or traversal scratch could not be admitted or allocated.
InvalidLimits
Decode or traversal limits are not representable on this target.
TooManySpans
Intersecting sparse spans exceed the caller’s admitted output bound.
Cycle
Child graph references an ancestor or repeated page.
HeightExceeded
Traversal exceeds its hard page-height bound.
ChildBoundsMismatch
Parent child range does not match the decoded child content.
IncompleteCoverage
Planned spans do not cover the request exactly once.
PageTooLarge
Stored page exceeds its decode/work bound.
Storage(ObjectStoreError)
Immutable-object backend failed.
Decode(CanonicalDecodeError)
Canonical page failed decoding or validation.
Work(WorkError)
Exact work exceeded or overflowed its budget.
Trait Implementations§
Source§impl Debug for ExtentReadError
impl Debug for ExtentReadError
Source§impl Display for ExtentReadError
impl Display for ExtentReadError
Source§impl Error for ExtentReadError
impl Error for ExtentReadError
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
use the Display impl or to_string()
Source§impl From<CanonicalDecodeError> for ExtentReadError
impl From<CanonicalDecodeError> for ExtentReadError
Source§fn from(source: CanonicalDecodeError) -> Self
fn from(source: CanonicalDecodeError) -> Self
Source§impl From<ExtentReadError> for ExtentCloneError
impl From<ExtentReadError> for ExtentCloneError
Source§fn from(source: ExtentReadError) -> Self
fn from(source: ExtentReadError) -> Self
Source§impl From<ExtentReadError> for FileRangeReadError
impl From<ExtentReadError> for FileRangeReadError
Source§fn from(source: ExtentReadError) -> Self
fn from(source: ExtentReadError) -> Self
Source§impl From<ExtentReadError> for MergeGenerationError
impl From<ExtentReadError> for MergeGenerationError
Source§fn from(source: ExtentReadError) -> Self
fn from(source: ExtentReadError) -> Self
Source§impl From<ExtentReadError> for AuthenticatedProbeError
impl From<ExtentReadError> for AuthenticatedProbeError
Source§fn from(source: ExtentReadError) -> Self
fn from(source: ExtentReadError) -> Self
Source§impl From<ExtentReadError> for RegularMutationError
impl From<ExtentReadError> for RegularMutationError
Source§fn from(source: ExtentReadError) -> Self
fn from(source: ExtentReadError) -> Self
Source§impl From<ObjectStoreError> for ExtentReadError
impl From<ObjectStoreError> for ExtentReadError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for ExtentReadError
impl !UnwindSafe for ExtentReadError
impl Freeze for ExtentReadError
impl Send for ExtentReadError
impl Sync for ExtentReadError
impl Unpin for ExtentReadError
impl UnsafeUnpin for ExtentReadError
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
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>
T in a tonic::Request