Struct sc_finality_grandpa::report::VoterState [−][src]
Basic data struct for the current state of the voter in a form suitable for passing on to other systems.
Fields
background_rounds: HashMap<u64, RoundState<Id>, RandomState>
Voting rounds running in the background.
best_round: (u64, RoundState<Id>)
The current best voting round.
Trait Implementations
impl<Id> Eq for VoterState<Id> where
Id: Eq + Hash,
[src]
Id: Eq + Hash,
impl<Id> PartialEq<VoterState<Id>> for VoterState<Id> where
Id: PartialEq<Id> + Eq + Hash,
[src][+]
Id: PartialEq<Id> + Eq + Hash,
impl<Id> StructuralEq for VoterState<Id> where
Id: Eq + Hash,
[src]
Id: Eq + Hash,
impl<Id> StructuralPartialEq for VoterState<Id> where
Id: Eq + Hash,
[src]
Id: Eq + Hash,
Auto Trait Implementations
impl<Id> RefUnwindSafe for VoterState<Id> where
Id: RefUnwindSafe,
Id: RefUnwindSafe,
impl<Id> Send for VoterState<Id> where
Id: Send,
Id: Send,
impl<Id> Sync for VoterState<Id> where
Id: Sync,
Id: Sync,
impl<Id> Unpin for VoterState<Id> where
Id: Unpin,
Id: Unpin,
impl<Id> UnwindSafe for VoterState<Id> where
Id: UnwindSafe,
Id: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> CheckedConversion for T
[src][+]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src][+]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src][+]
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T> Pointable for T
[src][+]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> SaturatedConversion for T
[src][+]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src][+]
T: UncheckedFrom<S>,
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
[src][+]
T: Bounded,
S: TryInto<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,