pub enum TwoPcState {
Init,
Prepared,
Committed,
Aborted,
}Variants§
Trait Implementations§
Source§impl Clone for TwoPcState
impl Clone for TwoPcState
Source§fn clone(&self) -> TwoPcState
fn clone(&self) -> TwoPcState
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 TwoPcState
impl Debug for TwoPcState
Source§impl<'de> Deserialize<'de> for TwoPcState
impl<'de> Deserialize<'de> for TwoPcState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TwoPcState
Source§impl PartialEq for TwoPcState
impl PartialEq for TwoPcState
Source§fn eq(&self, other: &TwoPcState) -> bool
fn eq(&self, other: &TwoPcState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TwoPcState
impl Serialize for TwoPcState
impl StructuralPartialEq for TwoPcState
Auto Trait Implementations§
impl Freeze for TwoPcState
impl RefUnwindSafe for TwoPcState
impl Send for TwoPcState
impl Sync for TwoPcState
impl Unpin for TwoPcState
impl UnsafeUnpin for TwoPcState
impl UnwindSafe for TwoPcState
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