Enum ntex_mqtt::v3::control::ControlMessage [−][src]
pub enum ControlMessage { Ping(Ping), Disconnect(Disconnect), Subscribe(Subscribe), Unsubscribe(Unsubscribe), Closed(Closed), }
Variants
Ping(Ping)
Ping packet
Disconnect(Disconnect)
Disconnect packet
Subscribe(Subscribe)
Subscribe packet
Unsubscribe(Unsubscribe)
Unsubscribe packet
Closed(Closed)
Connection dropped
Implementations
impl ControlMessage
[src]
impl ControlMessage
[src]pub fn disconnect(&self) -> ControlResult
[src]
Trait Implementations
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