Struct ntex_mqtt::v3::Router

source ·
pub struct Router<S, Err> { /* private fields */ }
Expand description

Router - structure that follows the builder pattern for building publish packet router instances for mqtt server.

Implementations§

Create mqtt application router.

Default service to be used if no matching resource could be found.

Configure mqtt resource for a specific 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.

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.