Struct Pong

pub struct Pong { /* private fields */ }

Received via PingPong when a peer acknowledges a Ping.

Trait Implementations

impl Debug for Pong

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Auto Trait Implementations

impl Freeze for Pong

impl RefUnwindSafe for Pong

impl Send for Pong

impl Sync for Pong

impl Unpin for Pong

impl UnsafeUnpin for Pong

impl UnwindSafe for Pong

Blanket Implementations

impl<T> Any for Pong where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for Pong where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for Pong where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for Pong

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for Pong

impl<T> WithSubscriber for Pong

impl<T, U> Into<U> for Pong where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for Pong where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for Pong where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>