Struct ntex_mqtt::v3::Publish [−][src]
pub struct Publish { /* fields omitted */ }
Expand description
Publish message
Implementations
the information channel to which payload data is published.
only present in PUBLISH Packets where the QoS level is 1 or 2.
Replace packet’a payload with empty bytes, returns existing payload.
Loads and parse application/json
encoded body.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Publish
impl UnwindSafe for Publish
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more