pub enum ConsensusVersionDef {
Bft,
GenesisPraos,
}
Variants§
Implementations§
source§impl<'de> ConsensusVersionDef
impl<'de> ConsensusVersionDef
pub fn deserialize<__D>( __deserializer: __D ) -> Result<ConsensusVersion, __D::Error>where __D: Deserializer<'de>,
Auto Trait Implementations§
impl RefUnwindSafe for ConsensusVersionDef
impl Send for ConsensusVersionDef
impl Sync for ConsensusVersionDef
impl Unpin for ConsensusVersionDef
impl UnwindSafe for ConsensusVersionDef
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