[][src]Struct actix_mqtt::Subscribe

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

Subscribe message

Methods

impl<S> Subscribe<S>[src]

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

returns reference to a connection session

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

returns mutable reference to a connection session

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

Mqtt client sink object

Important traits for SubscribeIter<'a, S>
pub fn iter_mut(&mut self) -> SubscribeIter<S>[src]

returns iterator over subscription topics

pub fn into_result(self) -> SubscribeResult[src]

convert subscription to a result

Trait Implementations

impl<'a, S> IntoIterator for &'a mut Subscribe<S>[src]

type Item = Subscription<'a, S>

The type of the elements being iterated over.

type IntoIter = SubscribeIter<'a, S>

Which kind of iterator are we turning this into?

Auto Trait Implementations

impl<S> !Send for Subscribe<S>

impl<S> !Sync for Subscribe<S>

impl<S> Unpin for Subscribe<S>

impl<S> !RefUnwindSafe for Subscribe<S>

impl<S> !UnwindSafe for Subscribe<S>

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<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