pub enum PingEvent {
Ping {
peer: PeerId,
ping: Duration,
},
}
Expand description
Events emitted by the ping protocol.
Variants§
Ping
Ping time with remote peer.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PingEvent
impl RefUnwindSafe for PingEvent
impl Send for PingEvent
impl Sync for PingEvent
impl Unpin for PingEvent
impl UnwindSafe for PingEvent
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