pub enum ConsensusMode {
Rpc {
endpoint: String,
},
}Expand description
Consensus engine mode
Variants§
Trait Implementations§
Source§impl Clone for ConsensusMode
impl Clone for ConsensusMode
Source§fn clone(&self) -> ConsensusMode
fn clone(&self) -> ConsensusMode
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 ConsensusMode
impl Debug for ConsensusMode
Source§impl PartialEq for ConsensusMode
impl PartialEq for ConsensusMode
Source§fn eq(&self, other: &ConsensusMode) -> bool
fn eq(&self, other: &ConsensusMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConsensusMode
Auto Trait Implementations§
impl Freeze for ConsensusMode
impl RefUnwindSafe for ConsensusMode
impl Send for ConsensusMode
impl Sync for ConsensusMode
impl Unpin for ConsensusMode
impl UnsafeUnpin for ConsensusMode
impl UnwindSafe for ConsensusMode
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