Struct chain_impl_mockchain::leadership::Leader
source · pub struct Leader {
pub bft_leader: Option<BftLeader>,
pub genesis_leader: Option<GenesisLeader>,
}
Fields§
§bft_leader: Option<BftLeader>
§genesis_leader: Option<GenesisLeader>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Leader
impl Send for Leader
impl Sync for Leader
impl Unpin for Leader
impl UnwindSafe for Leader
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