[][src]Struct actix_mqtt::Unsubscribe

pub struct Unsubscribe<S> { /* fields omitted */ }

Unsubscribe message

Methods

impl<S> Unsubscribe<S>[src]

pub fn session(&self) -> Ref<S>[src]

reference to a connection session

pub fn session_mut(&mut self) -> RefMut<S>[src]

mutable reference to a connection session

pub fn sink(&self) -> MqttSink[src]

Mqtt client sink object

pub fn iter(&self) -> impl Iterator<Item = &String<Bytes>>[src]

returns iterator over unsubscribe topics

Auto Trait Implementations

impl<S> !Send for Unsubscribe<S>

impl<S> Unpin for Unsubscribe<S>

impl<S> !Sync for Unsubscribe<S>

impl<S> !UnwindSafe for Unsubscribe<S>

impl<S> !RefUnwindSafe for Unsubscribe<S>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T