pub enum TreeReadError {
Show 14 variants
Cancelled,
EmptyBatch,
TooManyQueries,
WrongRootKind,
InvalidHeightLimit,
Cycle,
HeightExceeded,
InvalidRouting,
ChildBoundsMismatch,
AllocationFailed,
PageTooLarge {
observed: u64,
maximum: u64,
},
Storage(ObjectStoreError),
Decode(CanonicalDecodeError),
Work(WorkError),
}Expand description
Sparse authenticated tree-read failures.
Variants§
Cancelled
Cooperative cancellation occurred before the next storage boundary.
EmptyBatch
Batch lookup requires at least one requested name.
TooManyQueries
Batch lookup exceeds its explicit query limit.
WrongRootKind
Root object is not an authenticated tree page.
InvalidHeightLimit
Page-height bound must be positive.
Cycle
A child graph referenced an ancestor.
HeightExceeded
Traversal did not reach a leaf within its hard height bound.
InvalidRouting
Internal routing state was structurally impossible.
ChildBoundsMismatch
Parent routing bounds do not match the authenticated child frontier.
AllocationFailed
A bounded batch scratch allocation failed.
PageTooLarge
Stored page exceeds the decode/work bound.
Storage(ObjectStoreError)
Immutable-object backend failed.
Decode(CanonicalDecodeError)
Canonical page failed decoding or semantic validation.
Work(WorkError)
Exact implementation work exceeded or overflowed its budget.
Trait Implementations§
Source§impl Debug for TreeReadError
impl Debug for TreeReadError
Source§impl Display for TreeReadError
impl Display for TreeReadError
Source§impl Error for TreeReadError
impl Error for TreeReadError
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 TreeReadError
impl From<CanonicalDecodeError> for TreeReadError
Source§fn from(source: CanonicalDecodeError) -> Self
fn from(source: CanonicalDecodeError) -> Self
Source§impl From<ObjectStoreError> for TreeReadError
impl From<ObjectStoreError> for TreeReadError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Source§impl From<TreeReadError> for PathLookupError
impl From<TreeReadError> for PathLookupError
Source§fn from(source: TreeReadError) -> Self
fn from(source: TreeReadError) -> Self
Source§impl From<TreeReadError> for AuthenticatedProbeError
impl From<TreeReadError> for AuthenticatedProbeError
Source§fn from(source: TreeReadError) -> Self
fn from(source: TreeReadError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for TreeReadError
impl !UnwindSafe for TreeReadError
impl Freeze for TreeReadError
impl Send for TreeReadError
impl Sync for TreeReadError
impl Unpin for TreeReadError
impl UnsafeUnpin for TreeReadError
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