[][src]Struct libquassel::message::ConnAck

pub struct ConnAck {
    pub flags: u8,
    pub extra: i16,
    pub version: i8,
}

Data received right after initializing the connection

ConnAck is serialized sequentially

Fields

flags: u8

The Flag 0x01 for TLS and 0x02 for Deflate Compression

extra: i16

Some extra protocol version specific data So far unused

version: i8

The version of the protocol 0x00000001 for the legacy protocol 0x00000002 for the datastream protocol

Only the datastream protocol is supported by this crate

Trait Implementations

impl Debug for ConnAck[src]

impl Default for ConnAck[src]

impl Deserialize for ConnAck[src]

impl Serialize for ConnAck[src]

Auto Trait Implementations

impl RefUnwindSafe for ConnAck

impl Send for ConnAck

impl Sync for ConnAck

impl Unpin for ConnAck

impl UnwindSafe for ConnAck

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, 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.