[][src]Struct tox_packet::relay::PongResponse

pub struct PongResponse {
    pub ping_id: u64,
}

Sent by both client and server, both will respond. The server should respond to ping packets with pong packets with the same ping_id as was in the ping packet. The server should check that each pong packet contains the same ping_id as was in the ping, if not the pong packet must be ignored.

Serialized form:

LengthContent
10x05
8ping_id in BigEndian

Fields

ping_id: u64

The id of ping to respond

Trait Implementations

impl Clone for PongResponse[src]

impl Debug for PongResponse[src]

impl FromBytes for PongResponse[src]

impl PartialEq<PongResponse> for PongResponse[src]

impl StructuralPartialEq for PongResponse[src]

impl ToBytes for PongResponse[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.