pub enum QuorumType {
NoSigning,
PartialOrder,
TotalOrder,
Owners,
IamTheSignature,
}
Variants§
Implementations§
Source§impl QuorumType
impl QuorumType
pub fn final_consistency(&self) -> bool
Trait Implementations§
Source§impl Clone for QuorumType
impl Clone for QuorumType
Source§fn clone(&self) -> QuorumType
fn clone(&self) -> QuorumType
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 QuorumType
impl Debug for QuorumType
Source§impl<'de> Deserialize<'de> for QuorumType
impl<'de> Deserialize<'de> for QuorumType
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 PartialEq for QuorumType
impl PartialEq for QuorumType
Source§impl Serialize for QuorumType
impl Serialize for QuorumType
impl Eq for QuorumType
impl StructuralPartialEq for QuorumType
Auto Trait Implementations§
impl Freeze for QuorumType
impl RefUnwindSafe for QuorumType
impl Send for QuorumType
impl Sync for QuorumType
impl Unpin for QuorumType
impl UnwindSafe for QuorumType
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