pub enum RecoverStatus {
Partial,
Started,
PrepareCommit,
Rollback,
Commit,
Cleanup,
}Expand description
Possible state of a transaction in the log
Variants§
Partial
Can’t find the start of the transaction so already completed
Started
Started but not completed
PrepareCommit
Successfully prepared
Rollback
rollback-ed
Commit
Successfully committed after prepared
Cleanup
Successfully cleaned up resources after commit
Trait Implementations§
Source§impl Clone for RecoverStatus
impl Clone for RecoverStatus
Source§fn clone(&self) -> RecoverStatus
fn clone(&self) -> RecoverStatus
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 RecoverStatus
impl Debug for RecoverStatus
impl Eq for RecoverStatus
Source§impl PartialEq for RecoverStatus
impl PartialEq for RecoverStatus
Source§fn eq(&self, other: &RecoverStatus) -> bool
fn eq(&self, other: &RecoverStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecoverStatus
Auto Trait Implementations§
impl Freeze for RecoverStatus
impl RefUnwindSafe for RecoverStatus
impl Send for RecoverStatus
impl Sync for RecoverStatus
impl Unpin for RecoverStatus
impl UnsafeUnpin for RecoverStatus
impl UnwindSafe for RecoverStatus
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