Struct finality_grandpa::round::RoundParams
source · [−]pub struct RoundParams<Id: Ord + Eq, H, N> {
pub round_number: u64,
pub voters: VoterSet<Id>,
pub base: (H, N),
}
Expand description
Parameters for starting a round.
Fields
round_number: u64
The round number for votes.
voters: VoterSet<Id>
Actors and weights in the round.
base: (H, N)
The base block to build on.
Auto Trait Implementations
impl<Id, H, N> RefUnwindSafe for RoundParams<Id, H, N> where
H: RefUnwindSafe,
Id: RefUnwindSafe,
N: RefUnwindSafe,
impl<Id, H, N> Send for RoundParams<Id, H, N> where
H: Send,
Id: Send,
N: Send,
impl<Id, H, N> Sync for RoundParams<Id, H, N> where
H: Sync,
Id: Sync,
N: Sync,
impl<Id, H, N> Unpin for RoundParams<Id, H, N> where
H: Unpin,
Id: Unpin,
N: Unpin,
impl<Id, H, N> UnwindSafe for RoundParams<Id, H, N> where
H: UnwindSafe,
Id: UnwindSafe + RefUnwindSafe,
N: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more