pub enum Success {
Pong,
Ping {
rtt: Duration,
},
}
Expand description
The successful result of processing an inbound or outbound ping.
Variants§
Pong
Received a ping and sent back a pong.
Ping
Sent a ping and received back a pong.
Includes the round-trip time.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Success
impl Send for Success
impl Sync for Success
impl Unpin for Success
impl UnwindSafe for Success
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