Enum ntex_mqtt::v5::client::control::ControlMessage[][src]

pub enum ControlMessage<E> {
    Publish(Publish),
    Disconnect(Disconnect),
    Error(Error<E>),
    ProtocolError(ProtocolError),
    Closed(Closed),
}

Variants

Publish

Unhandled publish packet

Tuple Fields of Publish

0: Publish
Disconnect

Disconnect packet

Tuple Fields of Disconnect

0: Disconnect
Error

Application level error from resources and control services

Tuple Fields of Error

0: Error<E>
ProtocolError

Protocol level error

Tuple Fields of ProtocolError

0: ProtocolError
Closed

Connection closed

Tuple Fields of Closed

0: Closed

Implementations

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

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

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.