[][src]Struct ntex_mqtt::v5::Connect

pub struct Connect<Io> { /* fields omitted */ }

Connect message

Implementations

impl<Io> Connect<Io>[src]

pub fn packet(&self) -> &Connect[src]

pub fn packet_mut(&mut self) -> &mut Connect[src]

pub fn io(&mut self) -> &mut Framed<Io, Codec>[src]

pub fn sink(&self) -> &MqttSink[src]

Returns mqtt server sink

pub fn ack<St>(self, st: St) -> ConnectAck<Io, St>[src]

Ack connect message and set state

pub fn failed<St>(self, reason: ConnectAckReason) -> ConnectAck<Io, St>[src]

Create connect ack object with error

Trait Implementations

impl<T> Debug for Connect<T>[src]

Auto Trait Implementations

impl<Io> !RefUnwindSafe for Connect<Io>

impl<Io> !Send for Connect<Io>

impl<Io> !Sync for Connect<Io>

impl<Io> Unpin for Connect<Io>

impl<Io> !UnwindSafe for Connect<Io>

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> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,