pub struct NewEpoch {
pub ts: u64,
}Expand description
[NEWEPOCH, ts] — the trusted leader announcing the epoch it wants to start.
Fields§
§ts: u64Trait Implementations§
impl Copy for NewEpoch
Source§impl<'de> Deserialize<'de> for NewEpoch
impl<'de> Deserialize<'de> for NewEpoch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NewEpoch
impl StructuralPartialEq for NewEpoch
Auto Trait Implementations§
impl Freeze for NewEpoch
impl RefUnwindSafe for NewEpoch
impl Send for NewEpoch
impl Sync for NewEpoch
impl Unpin for NewEpoch
impl UnsafeUnpin for NewEpoch
impl UnwindSafe for NewEpoch
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