pub struct PingPong { /* private fields */ }
Expand description
A handle to send and receive PING frames with the peer.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PingPong
impl Send for PingPong
impl Sync for PingPong
impl Unpin for PingPong
impl !UnwindSafe for PingPong
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more