pub enum ExtentMutationError {
Show 17 variants
Empty,
TooManyMutations,
WrongRootKind,
InvalidLimits,
PageItemTooLarge,
EmptyRange,
RangeOverflow,
OutsideFile,
WrongContentKind,
PatchInvariant,
AllocationFailed,
HeightExceeded,
CycleOrAlias,
ChildBoundsMismatch,
Storage(ObjectStoreError),
Decode(CanonicalDecodeError),
Work(WorkError),
}Expand description
Persistent sparse extent mutation failures.
Variants§
Empty
Batch contains no mutations.
TooManyMutations
Batch exceeds its admitted bound.
WrongRootKind
Root has the wrong object kind.
InvalidLimits
Page width/height cannot support mutation.
PageItemTooLarge
One extent or required pair of child routes cannot fit in a page.
EmptyRange
Replacement range must be non-empty.
RangeOverflow
Range arithmetic overflowed.
OutsideFile
Non-extending replacement exceeds current logical file length.
WrongContentKind
Content replacement references another object class.
PatchInvariant
Internal normalized-patch map was inconsistent.
AllocationFailed
Fallible fixed-capacity scratch allocation was unavailable.
HeightExceeded
Traversal or growth exceeds the page-height bound.
CycleOrAlias
Authenticated page graph cycles or aliases.
ChildBoundsMismatch
Parent range bounds differ from child content.
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 ExtentMutationError
impl Debug for ExtentMutationError
Source§impl Display for ExtentMutationError
impl Display for ExtentMutationError
Source§impl Error for ExtentMutationError
impl Error for ExtentMutationError
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 ExtentMutationError
impl From<CanonicalDecodeError> for ExtentMutationError
Source§fn from(source: CanonicalDecodeError) -> Self
fn from(source: CanonicalDecodeError) -> Self
Source§impl From<ExtentMutationError> for ExtentCloneError
impl From<ExtentMutationError> for ExtentCloneError
Source§fn from(source: ExtentMutationError) -> Self
fn from(source: ExtentMutationError) -> Self
Source§impl From<ExtentMutationError> for MergeGenerationError
impl From<ExtentMutationError> for MergeGenerationError
Source§fn from(source: ExtentMutationError) -> Self
fn from(source: ExtentMutationError) -> Self
Source§impl From<ExtentMutationError> for RegularMutationError
impl From<ExtentMutationError> for RegularMutationError
Source§fn from(source: ExtentMutationError) -> Self
fn from(source: ExtentMutationError) -> Self
Source§impl From<ObjectStoreError> for ExtentMutationError
impl From<ObjectStoreError> for ExtentMutationError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for ExtentMutationError
impl !UnwindSafe for ExtentMutationError
impl Freeze for ExtentMutationError
impl Send for ExtentMutationError
impl Sync for ExtentMutationError
impl Unpin for ExtentMutationError
impl UnsafeUnpin for ExtentMutationError
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