#[repr(u16)]pub enum RecordFlags {
Pending = 0,
Committed = 1,
Checkpointed = 2,
Aborted = 3,
}Expand description
Record flags
Variants§
Pending = 0
Transaction is pending (written but not committed)
Committed = 1
Transaction is committed
Checkpointed = 2
Transaction has been checkpointed (can be truncated)
Aborted = 3
Transaction was aborted
Trait Implementations§
Source§impl Clone for RecordFlags
impl Clone for RecordFlags
Source§fn clone(&self) -> RecordFlags
fn clone(&self) -> RecordFlags
Returns a duplicate of the value. Read more
1.0.0 · 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 RecordFlags
impl Debug for RecordFlags
Source§impl PartialEq for RecordFlags
impl PartialEq for RecordFlags
impl Copy for RecordFlags
impl Eq for RecordFlags
impl StructuralPartialEq for RecordFlags
Auto Trait Implementations§
impl Freeze for RecordFlags
impl RefUnwindSafe for RecordFlags
impl Send for RecordFlags
impl Sync for RecordFlags
impl Unpin for RecordFlags
impl UnwindSafe for RecordFlags
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more