pub enum MergeGenerationError {
InvalidDiff,
ChangeLimit,
AllocationFailed,
Object(ObjectStoreError),
Decode(CanonicalDecodeError),
FileTable(FileTableMutationError),
Tree(TreeMutationError),
ExtentRead(ExtentReadError),
ExtentMutation(ExtentMutationError),
Checkpoint(CheckpointError),
Cancelled(CancellationError),
Work(WorkError),
}Expand description
Canonical merge failures.
Variants§
InvalidDiff
Merge roots or persistent diff structure are contradictory.
ChangeLimit
Caller supplied a zero or exceeded change frontier.
AllocationFailed
Bounded diff allocation failed.
Object(ObjectStoreError)
Immutable storage failed.
Decode(CanonicalDecodeError)
Canonical page decoding failed.
FileTable(FileTableMutationError)
Sparse file-table application failed.
Tree(TreeMutationError)
Sparse directory-tree application failed.
ExtentRead(ExtentReadError)
Sparse extent planning failed.
ExtentMutation(ExtentMutationError)
Sparse extent path-copy application failed.
Checkpoint(CheckpointError)
Checkpoint or two-parent construction failed.
Cancelled(CancellationError)
Operation was cancelled before safe completion.
Work(WorkError)
Exact work overflowed or exceeded its admitted budget.
Trait Implementations§
Source§impl Debug for MergeGenerationError
impl Debug for MergeGenerationError
Source§impl Display for MergeGenerationError
impl Display for MergeGenerationError
Source§impl Error for MergeGenerationError
impl Error for MergeGenerationError
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<CancellationError> for MergeGenerationError
impl From<CancellationError> for MergeGenerationError
Source§fn from(source: CancellationError) -> Self
fn from(source: CancellationError) -> Self
Converts to this type from the input type.
Source§impl From<CanonicalDecodeError> for MergeGenerationError
impl From<CanonicalDecodeError> for MergeGenerationError
Source§fn from(source: CanonicalDecodeError) -> Self
fn from(source: CanonicalDecodeError) -> Self
Converts to this type from the input type.
Source§impl From<CheckpointError> for MergeGenerationError
impl From<CheckpointError> for MergeGenerationError
Source§fn from(source: CheckpointError) -> Self
fn from(source: CheckpointError) -> Self
Converts to this type from the input type.
Source§impl From<ExtentMutationError> for MergeGenerationError
impl From<ExtentMutationError> for MergeGenerationError
Source§fn from(source: ExtentMutationError) -> Self
fn from(source: ExtentMutationError) -> Self
Converts to this type from the input type.
Source§impl From<ExtentReadError> for MergeGenerationError
impl From<ExtentReadError> for MergeGenerationError
Source§fn from(source: ExtentReadError) -> Self
fn from(source: ExtentReadError) -> Self
Converts to this type from the input type.
Source§impl From<FileTableMutationError> for MergeGenerationError
impl From<FileTableMutationError> for MergeGenerationError
Source§fn from(source: FileTableMutationError) -> Self
fn from(source: FileTableMutationError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for MergeGenerationError
impl From<ObjectStoreError> for MergeGenerationError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<TreeMutationError> for MergeGenerationError
impl From<TreeMutationError> for MergeGenerationError
Source§fn from(source: TreeMutationError) -> Self
fn from(source: TreeMutationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for MergeGenerationError
impl !UnwindSafe for MergeGenerationError
impl Freeze for MergeGenerationError
impl Send for MergeGenerationError
impl Sync for MergeGenerationError
impl Unpin for MergeGenerationError
impl UnsafeUnpin for MergeGenerationError
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