Enum ntex_mqtt::v3::control::ControlMessage [−][src]
pub enum ControlMessage { Ping(Ping), Disconnect(Disconnect), Subscribe(Subscribe), Unsubscribe(Unsubscribe), Closed(Closed), }
Variants
Ping(Ping)
Expand description
Ping packet
Disconnect(Disconnect)
Expand description
Disconnect packet
Subscribe(Subscribe)
Expand description
Subscribe packet
Unsubscribe(Unsubscribe)
Expand description
Unsubscribe packet
Closed(Closed)
Expand description
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 Send for ControlMessage
impl Sync for ControlMessage
impl Unpin for ControlMessage
impl UnwindSafe for ControlMessage
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self