Struct ntex_mqtt::v5::control::ProtocolError [−][src]
pub struct ProtocolError { /* fields omitted */ }
Expand description
Protocol level error
Implementations
Returns reference to a protocol error
Set reason code for disconnect packet
Set reason string for disconnect packet
Set server reference for disconnect packet
Update disconnect packet properties
Ack protocol error, return disconnect packet and close connection.
Ack protocol error, return disconnect packet and close connection.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ProtocolError
impl Send for ProtocolError
impl Sync for ProtocolError
impl Unpin for ProtocolError
impl !UnwindSafe for ProtocolError
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