pub enum AttributeMutationError {
Show 14 variants
Empty,
TooManyMutations,
WrongRootKind,
InvalidLimits,
PageItemTooLarge,
HeightExceeded,
CycleOrAlias,
ChildBoundsMismatch,
MutationContract,
AllocationFailed,
Semantic(AttributeSemanticError),
Storage(ObjectStoreError),
Decode(CanonicalDecodeError),
Work(WorkError),
}Expand description
Persistent attribute path-copy failures.
Variants§
Empty
Batch is empty.
TooManyMutations
Batch exceeds its admitted operation count.
WrongRootKind
Root has the wrong object kind.
InvalidLimits
Page or traversal limits are invalid.
PageItemTooLarge
One item or required fanout cannot fit the page-byte bound.
HeightExceeded
Traversal exceeds the page-height bound.
CycleOrAlias
Authenticated page graph cycles or aliases.
ChildBoundsMismatch
Parent routing bounds mismatch child contents.
MutationContract
Mutation implementation violated its cardinality contract.
AllocationFailed
Fallible bounded scratch allocation failed.
Semantic(AttributeSemanticError)
Semantic mutation failed.
Storage(ObjectStoreError)
Immutable object storage failed.
Decode(CanonicalDecodeError)
Canonical page encoding or decoding failed.
Work(WorkError)
Work accounting overflowed or exceeded its budget.
Trait Implementations§
Source§impl Debug for AttributeMutationError
impl Debug for AttributeMutationError
Source§impl Display for AttributeMutationError
impl Display for AttributeMutationError
Source§impl Error for AttributeMutationError
impl Error for AttributeMutationError
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<AttributeMutationError> for FsError
impl From<AttributeMutationError> for FsError
Source§fn from(source: AttributeMutationError) -> Self
fn from(source: AttributeMutationError) -> Self
Converts to this type from the input type.
Source§impl From<AttributeSemanticError> for AttributeMutationError
impl From<AttributeSemanticError> for AttributeMutationError
Source§fn from(source: AttributeSemanticError) -> Self
fn from(source: AttributeSemanticError) -> Self
Converts to this type from the input type.
Source§impl From<CanonicalDecodeError> for AttributeMutationError
impl From<CanonicalDecodeError> for AttributeMutationError
Source§fn from(source: CanonicalDecodeError) -> Self
fn from(source: CanonicalDecodeError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for AttributeMutationError
impl From<ObjectStoreError> for AttributeMutationError
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 AttributeMutationError
impl !UnwindSafe for AttributeMutationError
impl Freeze for AttributeMutationError
impl Send for AttributeMutationError
impl Sync for AttributeMutationError
impl Unpin for AttributeMutationError
impl UnsafeUnpin for AttributeMutationError
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