pub enum AttributeLookupError {
Show 13 variants
Cancelled,
EmptyBatch,
TooManyQueries,
WrongRootKind,
InvalidLimits,
HeightExceeded,
CycleOrAlias,
ChildBoundsMismatch,
InvalidRouting,
AllocationFailed,
Storage(ObjectStoreError),
Decode(CanonicalDecodeError),
Work(WorkError),
}Expand description
Authenticated named-attribute lookup failures.
Variants§
Cancelled
Cancellation occurred before a storage boundary.
EmptyBatch
Batch lookup requires at least one name.
TooManyQueries
Batch lookup exceeds its explicit query limit.
WrongRootKind
Root is not an attribute page.
InvalidLimits
Traversal/page limits are invalid.
HeightExceeded
Traversal exceeded the admitted height.
CycleOrAlias
Authenticated graph cycles or aliases.
ChildBoundsMismatch
A parent route does not match child bounds.
InvalidRouting
No child can route the requested name.
AllocationFailed
Bounded scratch allocation failed.
Storage(ObjectStoreError)
Immutable object storage failed.
Decode(CanonicalDecodeError)
Canonical attribute page failed decoding.
Work(WorkError)
Work accounting overflowed or exceeded the admitted budget.
Trait Implementations§
Source§impl Debug for AttributeLookupError
impl Debug for AttributeLookupError
Source§impl Display for AttributeLookupError
impl Display for AttributeLookupError
Source§impl Error for AttributeLookupError
impl Error for AttributeLookupError
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<AttributeLookupError> for FsError
impl From<AttributeLookupError> for FsError
Source§fn from(source: AttributeLookupError) -> Self
fn from(source: AttributeLookupError) -> Self
Converts to this type from the input type.
Source§impl From<CanonicalDecodeError> for AttributeLookupError
impl From<CanonicalDecodeError> for AttributeLookupError
Source§fn from(source: CanonicalDecodeError) -> Self
fn from(source: CanonicalDecodeError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for AttributeLookupError
impl From<ObjectStoreError> for AttributeLookupError
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 AttributeLookupError
impl !UnwindSafe for AttributeLookupError
impl Freeze for AttributeLookupError
impl Send for AttributeLookupError
impl Sync for AttributeLookupError
impl Unpin for AttributeLookupError
impl UnsafeUnpin for AttributeLookupError
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