pub enum CommitFailed {
LogSealed,
Aborted,
}Expand description
Why a pipelined commit will never be durable. Exactly two variants (commit-protocol.md §Vocabulary).
Variants§
LogSealed
The log is read-only for good; nothing further can be recorded.
Aborted
A compaction or branch move superseded the turn. The bytes already forwarded are canon and will land — what is discarded is the turn’s claim on them, never the log (§conflict table, Abort).
Trait Implementations§
Source§impl Clone for CommitFailed
impl Clone for CommitFailed
Source§fn clone(&self) -> CommitFailed
fn clone(&self) -> CommitFailed
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 moreimpl Copy for CommitFailed
Source§impl Debug for CommitFailed
impl Debug for CommitFailed
impl Eq for CommitFailed
Source§impl PartialEq for CommitFailed
impl PartialEq for CommitFailed
impl StructuralPartialEq for CommitFailed
Auto Trait Implementations§
impl Freeze for CommitFailed
impl RefUnwindSafe for CommitFailed
impl Send for CommitFailed
impl Sync for CommitFailed
impl Unpin for CommitFailed
impl UnsafeUnpin for CommitFailed
impl UnwindSafe for CommitFailed
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.