pub enum ProjectErrorCode {
Show 17 variants
UnsupportedProjectFormat,
ProjectUninitialized,
ProjectCorrupt,
UnsupportedFilesystem,
WriterBusy,
WriteConflict,
RebaseExhausted,
TransactionConflict,
PublicationFailed,
UnsupportedCapabilityVersion,
CapabilityDisabled,
TransactionFailed,
CheckpointExists,
CheckpointNotFound,
CheckpointRegistryCorrupt,
ReadOnlyView,
ResourceLimit,
}Expand description
Stable project-format and project-generation error codes.
Variants§
UnsupportedProjectFormat
The root is not the current supported project format.
ProjectUninitialized
The v1 container has no committed generation.
ProjectCorrupt
The commit pointer or selected generation is internally inconsistent.
UnsupportedFilesystem
The project filesystem cannot provide the required atomic semantics.
WriterBusy
Another process currently owns the project writer lock.
WriteConflict
A staged write cannot be applied to the latest committed generation.
RebaseExhausted
Compatible contention exceeded the caller’s bounded rebase attempts.
TransactionConflict
A transaction UUID was reused with different immutable inputs.
PublicationFailed
A generation failed before or after its commit point.
UnsupportedCapabilityVersion
A capability ID/version is not implemented by this binary.
CapabilityDisabled
A capability-specific operation was requested before enablement.
TransactionFailed
A transaction failed before publication.
CheckpointExists
The named checkpoint already exists.
CheckpointNotFound
The named checkpoint does not exist.
CheckpointRegistryCorrupt
Checkpoint registry state is unsafe or inconsistent.
ReadOnlyView
A mutation was attempted through an immutable checkpoint view.
ResourceLimit
A bounded checkpoint resource limit was exceeded.
Implementations§
Trait Implementations§
Source§impl Clone for ProjectErrorCode
impl Clone for ProjectErrorCode
Source§fn clone(&self) -> ProjectErrorCode
fn clone(&self) -> ProjectErrorCode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ProjectErrorCode
Source§impl Debug for ProjectErrorCode
impl Debug for ProjectErrorCode
Source§impl Display for ProjectErrorCode
impl Display for ProjectErrorCode
impl Eq for ProjectErrorCode
Source§impl PartialEq for ProjectErrorCode
impl PartialEq for ProjectErrorCode
impl StructuralPartialEq for ProjectErrorCode
Auto Trait Implementations§
impl Freeze for ProjectErrorCode
impl RefUnwindSafe for ProjectErrorCode
impl Send for ProjectErrorCode
impl Sync for ProjectErrorCode
impl Unpin for ProjectErrorCode
impl UnsafeUnpin for ProjectErrorCode
impl UnwindSafe for ProjectErrorCode
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
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
key and return true if they are equal.