[][src]Struct mumble_protocol::ping::PongPacket

pub struct PongPacket {
    pub id: u64,
    pub version: u32,
    pub users: u32,
    pub max_users: u32,
    pub bandwidth: u32,
}

A pong packet sent to the client in reply to a previously received PingPacket.

Fields

id: u64

Opaque, client-generated id.

Should match the value in the corresponding PingPacket.

version: u32

Server version. E.g. 0x010300 for 1.3.0.

users: u32

Current amount of users connected to the server.

max_users: u32

Configured limit on the amount of users which can be connected to the server.

bandwidth: u32

Maximum bandwidth for server-bound speech per client in bits per second

Trait Implementations

impl Clone for PongPacket[src]

impl Debug for PongPacket[src]

impl From<PongPacket> for [u8; 24][src]

impl PartialEq<PongPacket> for PongPacket[src]

impl StructuralPartialEq for PongPacket[src]

impl<'_> TryFrom<&'_ [u8]> for PongPacket[src]

type Error = ParsePongError

The type returned in the event of a conversion error.

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.