Enum persy::RecoverStatus
source · 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 copy 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 RecoverStatus
impl Debug for RecoverStatus
source§impl PartialEq for RecoverStatus
impl PartialEq for RecoverStatus
source§fn eq(&self, other: &RecoverStatus) -> bool
fn eq(&self, other: &RecoverStatus) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for RecoverStatus
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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)