Struct ntex_mqtt::v5::control::ProtocolError [−][src]
pub struct ProtocolError { /* fields omitted */ }
Expand description
Connection failed message
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.
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