Struct ntex_mqtt::v5::control::Subscribe [−][src]
pub struct Subscribe { /* fields omitted */ }
Subscribe message
Implementations
impl Subscribe
[src]
impl Subscribe
[src]pub fn iter_mut(&mut self) -> SubscribeIter<'_>ⓘNotable traits for SubscribeIter<'a>
impl<'a> Iterator for SubscribeIter<'a> type Item = Subscription<'a>;
[src]
Notable traits for SubscribeIter<'a>
impl<'a> Iterator for SubscribeIter<'a> type Item = Subscription<'a>;
returns iterator over subscription topics
pub fn ack_reason(self, reason: ByteString) -> Self
[src]
Reason string for ack packet
pub fn ack_properties<F>(self, f: F) -> Self where
F: FnOnce(&mut UserProperties),
[src]
F: FnOnce(&mut UserProperties),
Properties for ack packet
pub fn ack(self) -> ControlResult
[src]
Ack Subscribe packet
pub fn packet(&self) -> &Subscribe
[src]
Returns reference to subscribe packet
Trait Implementations
impl<'a> IntoIterator for &'a mut Subscribe
[src]
impl<'a> IntoIterator for &'a mut Subscribe
[src]type Item = Subscription<'a>
The type of the elements being iterated over.
type IntoIter = SubscribeIter<'a>
Which kind of iterator are we turning this into?
fn into_iter(self) -> SubscribeIter<'a>ⓘNotable traits for SubscribeIter<'a>
impl<'a> Iterator for SubscribeIter<'a> type Item = Subscription<'a>;
[src]
Notable traits for SubscribeIter<'a>
impl<'a> Iterator for SubscribeIter<'a> type Item = Subscription<'a>;
Auto Trait Implementations
impl RefUnwindSafe for Subscribe
impl RefUnwindSafe for Subscribe
impl UnwindSafe for Subscribe
impl UnwindSafe for Subscribe
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