Enum persy::RecoverStatus
source · pub enum RecoverStatus {
Started,
PrepareCommit,
Rollback,
Commit,
Cleanup,
}
Expand description
Possible state of a transaction in the log
Variants§
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<RecoverStatus> for RecoverStatus
impl PartialEq<RecoverStatus> 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 ==
.