[][src]Struct finality_grandpa::round::RoundParams

pub struct RoundParams<Id: Hash + Eq, H, N> {
    pub round_number: u64,
    pub voters: VoterSet<Id>,
    pub base: (H, N),
}

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> 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> Send for RoundParams<Id, H, N> where
    H: Send,
    Id: Send,
    N: Send

impl<Id, H, N> RefUnwindSafe for RoundParams<Id, H, N> where
    H: RefUnwindSafe,
    Id: RefUnwindSafe,
    N: RefUnwindSafe

impl<Id, H, N> UnwindSafe for RoundParams<Id, H, N> where
    H: UnwindSafe,
    Id: RefUnwindSafe + UnwindSafe,
    N: UnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T