[][src]Struct tox_packet::relay::ConnectNotification

pub struct ConnectNotification {
    pub connection_id: ConnectionId,
}

Sent by server to client. Tell the client that connection_id is now connected meaning the other is online and data can be sent using this connection_id.

Serialized form:

LengthContent
10x02
1connection_id [ 0x10 .. 0xFF ]

Fields

connection_id: ConnectionId

The id of the connected client

Trait Implementations

impl Clone for ConnectNotification[src]

impl Debug for ConnectNotification[src]

impl FromBytes for ConnectNotification[src]

impl PartialEq<ConnectNotification> for ConnectNotification[src]

impl StructuralPartialEq for ConnectNotification[src]

impl ToBytes for ConnectNotification[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.