Struct poster::SubscribeRsp

source ·
pub struct SubscribeRsp { /* private fields */ }
Expand description

Response to the subscription request, representing the Suback packet.

In order to receive messages published on the subscribed topics use the stream method.

Implementations§

Transforms this response into the asynchronous stream of messages published to the subscribed topics.

Accesses reason string property.

Accesses user properties.

Accesses the payload being a list of SubackReason codes. Each reason code represents the result of the subscribe operation for the given topic.

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.

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.