pub enum CommitPlanError {
DiffDigestMismatch,
ReadSetDigestMismatch,
WriteSetDigestMismatch,
RootMutation,
ReservedPath {
path: VPath,
},
MissingWritePrecondition {
path: VPath,
},
MissingParentDependency {
path: VPath,
parent: VPath,
},
BeforeStateMismatch {
path: VPath,
},
UnmaterializedAfterState {
path: VPath,
},
TooManyOperations {
observed: usize,
maximum: usize,
},
PathTooLong {
path: VPath,
maximum: usize,
},
OperationCountOverflow,
}Expand description
Invalid or unbounded immutable commit artifact.
Variants§
DiffDigestMismatch
Canonical diff digest does not match the transaction binding.
ReadSetDigestMismatch
ReadSet digest does not match the transaction binding.
WriteSetDigestMismatch
WriteSet digest does not match the transaction binding.
RootMutation
The diff attempts to replace the workspace root.
ReservedPath
The diff targets trusted runtime state.
MissingWritePrecondition
A changed path lacks a base write precondition.
MissingParentDependency
A changed path lacks the parent-directory identity needed for safe *at access.
BeforeStateMismatch
Diff and precondition disagree about base state.
UnmaterializedAfterState
Final file or link content is not immutable and blob-backed.
TooManyOperations
Lowered operation count exceeds the configured maximum.
PathTooLong
A normalized path exceeds the configured byte bound.
OperationCountOverflow
An operation count cannot fit the stable journal codec.
Trait Implementations§
Source§impl Clone for CommitPlanError
impl Clone for CommitPlanError
Source§fn clone(&self) -> CommitPlanError
fn clone(&self) -> CommitPlanError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommitPlanError
impl Debug for CommitPlanError
Source§impl Display for CommitPlanError
impl Display for CommitPlanError
impl Eq for CommitPlanError
Source§impl Error for CommitPlanError
impl Error for CommitPlanError
1.30.0 · 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<CommitPlanError> for CommitError
impl From<CommitPlanError> for CommitError
Source§fn from(source: CommitPlanError) -> Self
fn from(source: CommitPlanError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CommitPlanError
impl PartialEq for CommitPlanError
impl StructuralPartialEq for CommitPlanError
Auto Trait Implementations§
impl Freeze for CommitPlanError
impl RefUnwindSafe for CommitPlanError
impl Send for CommitPlanError
impl Sync for CommitPlanError
impl Unpin for CommitPlanError
impl UnsafeUnpin for CommitPlanError
impl UnwindSafe for CommitPlanError
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