pub struct EndSyncEvent {
pub timestamp: SystemTime,
pub peer: VerifyingKey,
pub blocks_synced: u64,
}
Expand description
The replica exited sync mode, during which it tried to sync with a given peer identifiable by its public key, and inserted a given number of blocks received from the peer into its block tree.
Fields§
§timestamp: SystemTime
§peer: VerifyingKey
§blocks_synced: u64
Trait Implementations§
source§impl Logger for EndSyncEvent
impl Logger for EndSyncEvent
Auto Trait Implementations§
impl Freeze for EndSyncEvent
impl RefUnwindSafe for EndSyncEvent
impl Send for EndSyncEvent
impl Sync for EndSyncEvent
impl Unpin for EndSyncEvent
impl UnwindSafe for EndSyncEvent
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