#[non_exhaustive]pub enum CommitOutcome {
Empty,
Committed(CommitSeq),
}Expand description
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Empty
The transaction made no changes; no WAL frame was appended.
Committed(CommitSeq)
A durable frame landed at this commit sequence.
Trait Implementations§
Source§impl Clone for CommitOutcome
impl Clone for CommitOutcome
Source§fn clone(&self) -> CommitOutcome
fn clone(&self) -> CommitOutcome
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 CommitOutcome
Source§impl Debug for CommitOutcome
impl Debug for CommitOutcome
impl Eq for CommitOutcome
Source§impl PartialEq for CommitOutcome
impl PartialEq for CommitOutcome
Source§fn eq(&self, other: &CommitOutcome) -> bool
fn eq(&self, other: &CommitOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CommitOutcome
Auto Trait Implementations§
impl Freeze for CommitOutcome
impl RefUnwindSafe for CommitOutcome
impl Send for CommitOutcome
impl Sync for CommitOutcome
impl Unpin for CommitOutcome
impl UnsafeUnpin for CommitOutcome
impl UnwindSafe for CommitOutcome
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