[−][src]Struct actix_mqtt::Subscribe
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]
ⓘImportant traits for SubscribeIter<'a, S>
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?
ⓘImportant traits for SubscribeIter<'a, S>fn into_iter(self) -> SubscribeIter<'a, S>
[src]
ⓘImportant traits for SubscribeIter<'a, S>
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]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,