Enum libp2p::ping::PingSuccess [−][src]
pub enum PingSuccess { Pong, Ping { rtt: Duration, }, }
Expand description
The successful result of processing an inbound or outbound ping.
Variants
Expand description
Received a ping and sent back a pong.
Expand description
Sent a ping and received back a pong.
Includes the round-trip time.
Show fields
Fields of Ping
rtt: Duration
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PingSuccess
impl Send for PingSuccess
impl Sync for PingSuccess
impl Unpin for PingSuccess
impl UnwindSafe for PingSuccess
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,