[][src]Struct actix_mqtt::ConnectAck

pub struct ConnectAck<Io, St> { /* fields omitted */ }

Ack connect message

Methods

impl<Io, St> ConnectAck<Io, St>[src]

pub fn idle_timeout(self, timeout: Duration) -> Self[src]

Set idle time-out for the connection in milliseconds

By default idle time-out is set to 300000 milliseconds

pub fn in_flight(self, in_flight: usize) -> Self[src]

Set in-flight count. Total number of in-flight packets

By default in-flight count is set to 15

Auto Trait Implementations

impl<Io, St> !Send for ConnectAck<Io, St>

impl<Io, St> Unpin for ConnectAck<Io, St> where
    Io: Unpin,
    St: Unpin

impl<Io, St> !Sync for ConnectAck<Io, St>

impl<Io, St> !UnwindSafe for ConnectAck<Io, St>

impl<Io, St> !RefUnwindSafe for ConnectAck<Io, St>

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<T> Erased for T