Struct ntex_mqtt::v5::control::Error

source ·
pub struct Error<E> { /* private fields */ }
Expand description

Service level error

Implementations

Returns reference to mqtt error

Set reason string for disconnect packet

Set server reference for disconnect packet

Update disconnect packet properties

Ack service error, return disconnect packet and close connection.

Ack service error, return disconnect packet and close connection.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.