pub enum ReplicationTag {
Tentative,
Finalized,
}Expand description
Designates which phase of quorum-writing a given crate::Entry was stored in. Must be stored and retieved along with entries in the crate::Store.
Variants§
Trait Implementations§
Source§impl Clone for ReplicationTag
impl Clone for ReplicationTag
Source§fn clone(&self) -> ReplicationTag
fn clone(&self) -> ReplicationTag
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 ReplicationTag
impl Debug for ReplicationTag
Source§impl<'de> Deserialize<'de> for ReplicationTag
impl<'de> Deserialize<'de> for ReplicationTag
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
Source§impl Hash for ReplicationTag
impl Hash for ReplicationTag
Source§impl Ord for ReplicationTag
impl Ord for ReplicationTag
Source§fn cmp(&self, other: &ReplicationTag) -> Ordering
fn cmp(&self, other: &ReplicationTag) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ReplicationTag
impl PartialEq for ReplicationTag
Source§impl PartialOrd for ReplicationTag
impl PartialOrd for ReplicationTag
Source§impl Serialize for ReplicationTag
impl Serialize for ReplicationTag
impl Eq for ReplicationTag
impl StructuralPartialEq for ReplicationTag
Auto Trait Implementations§
impl Freeze for ReplicationTag
impl RefUnwindSafe for ReplicationTag
impl Send for ReplicationTag
impl Sync for ReplicationTag
impl Unpin for ReplicationTag
impl UnsafeUnpin for ReplicationTag
impl UnwindSafe for ReplicationTag
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