Enum ntex_mqtt::v3::client::control::ControlMessage [−][src]
pub enum ControlMessage { Publish(Publish), Disconnect(Disconnect), Closed(Closed), }
Variants
Publish(Publish)
Unhandled publish packet
Disconnect(Disconnect)
Disconnect packet
Closed(Closed)
Connection closed
Implementations
impl ControlMessage
[src]
impl ControlMessage
[src]pub fn disconnect(&self) -> ControlResult
[src]
Auto Trait Implementations
impl RefUnwindSafe for ControlMessage
impl RefUnwindSafe for ControlMessage
impl Send for ControlMessage
impl Send for ControlMessage
impl Sync for ControlMessage
impl Sync for ControlMessage
impl Unpin for ControlMessage
impl Unpin for ControlMessage
impl UnwindSafe for ControlMessage
impl UnwindSafe for ControlMessage
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self