Struct subgrandpa::RoundState
source · [−]pub struct RoundState<AccountId> {
pub round: u32,
pub total_weight: u32,
pub threshold_weight: u32,
pub prevotes: Prevotes<AccountId>,
pub precommits: Precommits<AccountId>,
}
Fields
round: u32
total_weight: u32
threshold_weight: u32
prevotes: Prevotes<AccountId>
precommits: Precommits<AccountId>
Trait Implementations
Auto Trait Implementations
impl<AccountId> RefUnwindSafe for RoundState<AccountId> where
AccountId: RefUnwindSafe,
impl<AccountId> Send for RoundState<AccountId> where
AccountId: Send,
impl<AccountId> Sync for RoundState<AccountId> where
AccountId: Sync,
impl<AccountId> Unpin for RoundState<AccountId> where
AccountId: Unpin,
impl<AccountId> UnwindSafe for RoundState<AccountId> where
AccountId: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more