Enum blul_core::use_cases::ConsensusStrategy
source · pub enum ConsensusStrategy {
Cautious,
Relaxed,
}
Variants§
Trait Implementations§
source§impl Clone for ConsensusStrategy
impl Clone for ConsensusStrategy
source§fn clone(&self) -> ConsensusStrategy
fn clone(&self) -> ConsensusStrategy
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 ConsensusStrategy
impl Debug for ConsensusStrategy
source§impl<'de> Deserialize<'de> for ConsensusStrategy
impl<'de> Deserialize<'de> for ConsensusStrategy
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 Serialize for ConsensusStrategy
impl Serialize for ConsensusStrategy
source§impl ValueEnum for ConsensusStrategy
impl ValueEnum for ConsensusStrategy
Auto Trait Implementations§
impl RefUnwindSafe for ConsensusStrategy
impl Send for ConsensusStrategy
impl Sync for ConsensusStrategy
impl Unpin for ConsensusStrategy
impl UnwindSafe for ConsensusStrategy
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