pub enum DirectoryReadError {
Show 13 variants
Cancelled,
TraversalState,
ZeroLimit,
LimitOverflow,
WrongRootKind,
InvalidLimits,
HeightExceeded,
Cycle,
ChildBoundsMismatch,
AllocationFailed,
Storage(ObjectStoreError),
Decode(CanonicalDecodeError),
Work(WorkError),
}Expand description
Authenticated bounded directory-read failures.
Variants§
Cancelled
Cooperative cancellation occurred before the next storage boundary.
TraversalState
The private driver attempted an impossible transition.
ZeroLimit
Page bound must be positive.
LimitOverflow
Page-bound allocation overflowed this target.
WrongRootKind
Root is not a tree page.
InvalidLimits
Decode/traversal limits are internally inconsistent.
HeightExceeded
Traversal exceeded the admitted height.
Cycle
Child graph references an ancestor or aliases a traversed page.
ChildBoundsMismatch
Parent routing bounds disagree with a child page.
AllocationFailed
A bounded scratch allocation could not be represented or reserved.
Storage(ObjectStoreError)
Immutable object backend failed.
Decode(CanonicalDecodeError)
Canonical tree page failed decoding.
Work(WorkError)
Exact work exceeded or overflowed its budget.
Trait Implementations§
Source§impl Debug for DirectoryReadError
impl Debug for DirectoryReadError
Source§impl Display for DirectoryReadError
impl Display for DirectoryReadError
Source§impl Error for DirectoryReadError
impl Error for DirectoryReadError
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<CanonicalDecodeError> for DirectoryReadError
impl From<CanonicalDecodeError> for DirectoryReadError
Source§fn from(source: CanonicalDecodeError) -> Self
fn from(source: CanonicalDecodeError) -> Self
Converts to this type from the input type.
Source§impl From<DirectoryReadError> for FsError
impl From<DirectoryReadError> for FsError
Source§fn from(source: DirectoryReadError) -> Self
fn from(source: DirectoryReadError) -> Self
Converts to this type from the input type.
Source§impl From<DirectoryReadError> for GenerationMutationError
impl From<DirectoryReadError> for GenerationMutationError
Source§fn from(source: DirectoryReadError) -> Self
fn from(source: DirectoryReadError) -> Self
Converts to this type from the input type.
Source§impl From<DirectoryReadError> for AuthenticatedProbeError
impl From<DirectoryReadError> for AuthenticatedProbeError
Source§fn from(source: DirectoryReadError) -> Self
fn from(source: DirectoryReadError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for DirectoryReadError
impl From<ObjectStoreError> for DirectoryReadError
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 DirectoryReadError
impl !UnwindSafe for DirectoryReadError
impl Freeze for DirectoryReadError
impl Send for DirectoryReadError
impl Sync for DirectoryReadError
impl Unpin for DirectoryReadError
impl UnsafeUnpin for DirectoryReadError
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