Struct tendermint_machine::round::RoundData
source · pub struct RoundData<N: Network> {
pub number: RoundNumber,
pub start_time: CanonicalInstant,
pub step: Step,
pub timeouts: HashMap<Step, Instant>,
/* private fields */
}
Fields§
§number: RoundNumber
§start_time: CanonicalInstant
§step: Step
§timeouts: HashMap<Step, Instant>
Implementations§
source§impl<N: Network> RoundData<N>
impl<N: Network> RoundData<N>
pub fn new(number: RoundNumber, start_time: CanonicalInstant) -> Self
pub fn end_time(&self) -> CanonicalInstant
Auto Trait Implementations§
impl<N> Freeze for RoundData<N>
impl<N> RefUnwindSafe for RoundData<N>where
N: RefUnwindSafe,
impl<N> Send for RoundData<N>
impl<N> Sync for RoundData<N>
impl<N> Unpin for RoundData<N>where
N: Unpin,
impl<N> UnwindSafe for RoundData<N>where
N: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more