pub struct ReceiveSyncRequestEvent {
pub timestamp: SystemTime,
pub peer: VerifyingKey,
pub start_height: BlockHeight,
pub limit: u32,
}
Expand description
The replica’s sync server received a sync request from a peer identifiable by its public key. Includes information about the requested start height from which the peer wants to sync, and the limit on the number of blocks that can be sent in a sync response.
Fields§
§timestamp: SystemTime
§peer: VerifyingKey
§start_height: BlockHeight
§limit: u32
Trait Implementations§
source§impl Logger for ReceiveSyncRequestEvent
impl Logger for ReceiveSyncRequestEvent
Auto Trait Implementations§
impl Freeze for ReceiveSyncRequestEvent
impl RefUnwindSafe for ReceiveSyncRequestEvent
impl Send for ReceiveSyncRequestEvent
impl Sync for ReceiveSyncRequestEvent
impl Unpin for ReceiveSyncRequestEvent
impl UnwindSafe for ReceiveSyncRequestEvent
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