pub enum MutationPlanError {
Empty,
TooManyMutations,
InvalidInitialRecord,
RootMutation,
SameSourceAndDestination,
EmptyRange,
RangeOverflow,
WrongContentKind,
WrongMetadataKind,
IndexOverflow,
AllocationFailed,
Work(WorkError),
}Expand description
Stable mutation-plan admission failures.
Variants§
Empty
Atomic batches contain at least one operation.
TooManyMutations
Batch exceeds the volume’s admitted operation bound.
InvalidInitialRecord
Initial create record violates canonical file-table invariants.
RootMutation
The volume root cannot be created, removed, linked, renamed, or rewritten as a file.
SameSourceAndDestination
Two-ended namespace operation used one identical path.
EmptyRange
Byte range must be non-empty.
RangeOverflow
Byte-range arithmetic overflowed.
WrongContentKind
Write source is not an authenticated blob.
WrongMetadataKind
Metadata replacement is not a canonical metadata object.
IndexOverflow
Stable operation/path index cannot be represented.
AllocationFailed
Bounded flat-plan storage could not be allocated.
Work(WorkError)
Exact compilation work exceeded or overflowed its budget.
Trait Implementations§
Source§impl Clone for MutationPlanError
impl Clone for MutationPlanError
impl Copy for MutationPlanError
Source§impl Debug for MutationPlanError
impl Debug for MutationPlanError
Source§impl Display for MutationPlanError
impl Display for MutationPlanError
impl Eq for MutationPlanError
Source§impl Error for MutationPlanError
impl Error for MutationPlanError
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<MutationPlanError> for GenerationMutationError
impl From<MutationPlanError> for GenerationMutationError
Source§fn from(source: MutationPlanError) -> Self
fn from(source: MutationPlanError) -> Self
Converts to this type from the input type.
Source§impl From<WorkError> for MutationPlanError
impl From<WorkError> for MutationPlanError
Source§impl PartialEq for MutationPlanError
impl PartialEq for MutationPlanError
impl StructuralPartialEq for MutationPlanError
Auto Trait Implementations§
impl Freeze for MutationPlanError
impl RefUnwindSafe for MutationPlanError
impl Send for MutationPlanError
impl Sync for MutationPlanError
impl Unpin for MutationPlanError
impl UnsafeUnpin for MutationPlanError
impl UnwindSafe for MutationPlanError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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