pub enum ConsensusMechanisms {
PoS,
PoW,
}Variants§
Auto Trait Implementations§
impl Freeze for ConsensusMechanisms
impl RefUnwindSafe for ConsensusMechanisms
impl Send for ConsensusMechanisms
impl Sync for ConsensusMechanisms
impl Unpin for ConsensusMechanisms
impl UnwindSafe for ConsensusMechanisms
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