Struct finality_grandpa::voter::RoundData [−][src]
Data necessary to participate in a round.
Fields
voter_id: Option<Id>
Local voter id (if any.)
prevote_timer: Timer
Timer before prevotes can be cast. This should be Start + 2T where T is the gossip time estimate.
precommit_timer: Timer
Timer before precommits can be cast. This should be Start + 4T
incoming: Input
Incoming messages.
outgoing: Output
Outgoing messages.
Auto Trait Implementations
impl<Id, Timer, Input, Output> RefUnwindSafe for RoundData<Id, Timer, Input, Output> where
Id: RefUnwindSafe,
Input: RefUnwindSafe,
Output: RefUnwindSafe,
Timer: RefUnwindSafe,
Id: RefUnwindSafe,
Input: RefUnwindSafe,
Output: RefUnwindSafe,
Timer: RefUnwindSafe,
impl<Id, Timer, Input, Output> Send for RoundData<Id, Timer, Input, Output> where
Id: Send,
Input: Send,
Output: Send,
Timer: Send,
Id: Send,
Input: Send,
Output: Send,
Timer: Send,
impl<Id, Timer, Input, Output> Sync for RoundData<Id, Timer, Input, Output> where
Id: Sync,
Input: Sync,
Output: Sync,
Timer: Sync,
Id: Sync,
Input: Sync,
Output: Sync,
Timer: Sync,
impl<Id, Timer, Input, Output> Unpin for RoundData<Id, Timer, Input, Output> where
Id: Unpin,
Input: Unpin,
Output: Unpin,
Timer: Unpin,
Id: Unpin,
Input: Unpin,
Output: Unpin,
Timer: Unpin,
impl<Id, Timer, Input, Output> UnwindSafe for RoundData<Id, Timer, Input, Output> where
Id: UnwindSafe,
Input: UnwindSafe,
Output: UnwindSafe,
Timer: UnwindSafe,
Id: UnwindSafe,
Input: UnwindSafe,
Output: UnwindSafe,
Timer: 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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,