pub enum TreeMutationError {
Show 16 variants
Empty,
TooManyMutations,
WrongRootKind,
InvalidLimits,
PageItemTooLarge,
HeightExceeded,
CycleOrAlias,
ChildBoundsMismatch,
MutationContract,
AllocationFailed,
AlreadyExists,
Missing,
FileIdentityConflict,
Storage(ObjectStoreError),
Decode(CanonicalDecodeError),
Work(WorkError),
}Expand description
Persistent directory mutation failures.
Variants§
Empty
Batch contains no mutation.
TooManyMutations
Batch count is zero-bounded, excessive, or unrepresentable.
WrongRootKind
Root object has the wrong class.
InvalidLimits
Page width/height cannot support a persistent tree.
PageItemTooLarge
One encoded binding cannot fit under the page byte bound.
HeightExceeded
Traversal or root growth exceeds the page-height bound.
CycleOrAlias
Authenticated page graph cycles or aliases.
ChildBoundsMismatch
Parent routing bounds do not match a child page.
MutationContract
A private mutation implementation violated plan invariants.
AllocationFailed
Bounded scratch allocation could not be satisfied.
AlreadyExists
Insert expected an absent name.
Missing
Remove/replace expected an existing name.
FileIdentityConflict
Existing file identity differs from the mutation precondition.
Storage(ObjectStoreError)
Immutable object storage failed.
Decode(CanonicalDecodeError)
Canonical page encoding/decoding failed.
Work(WorkError)
Exact work exceeded or overflowed its budget.
Trait Implementations§
Source§impl Debug for TreeMutationError
impl Debug for TreeMutationError
Source§impl Display for TreeMutationError
impl Display for TreeMutationError
Source§impl Error for TreeMutationError
impl Error for TreeMutationError
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 TreeMutationError
impl From<CanonicalDecodeError> for TreeMutationError
Source§fn from(source: CanonicalDecodeError) -> Self
fn from(source: CanonicalDecodeError) -> Self
Source§impl From<ObjectStoreError> for TreeMutationError
impl From<ObjectStoreError> for TreeMutationError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Source§impl From<TreeMutationError> for FsError
impl From<TreeMutationError> for FsError
Source§fn from(source: TreeMutationError) -> Self
fn from(source: TreeMutationError) -> Self
Source§impl From<TreeMutationError> for GenerationMutationError
impl From<TreeMutationError> for GenerationMutationError
Source§fn from(source: TreeMutationError) -> Self
fn from(source: TreeMutationError) -> Self
Source§impl From<TreeMutationError> for MergeGenerationError
impl From<TreeMutationError> for MergeGenerationError
Source§fn from(source: TreeMutationError) -> Self
fn from(source: TreeMutationError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for TreeMutationError
impl !UnwindSafe for TreeMutationError
impl Freeze for TreeMutationError
impl Send for TreeMutationError
impl Sync for TreeMutationError
impl Unpin for TreeMutationError
impl UnsafeUnpin for TreeMutationError
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