Struct ntex_mqtt::v5::control::Unsubscribe [−][src]
pub struct Unsubscribe { /* fields omitted */ }
Unsubscribe message
Implementations
impl Unsubscribe
[src]
impl Unsubscribe
[src]pub fn properties(&self) -> &UserProperties
[src]
Unsubscribe packet user properties
pub fn iter(&self) -> impl Iterator<Item = &ByteString>
[src]
returns iterator over unsubscribe topics
pub fn iter_mut(&mut self) -> UnsubscribeIter<'_>ⓘNotable traits for UnsubscribeIter<'a>
impl<'a> Iterator for UnsubscribeIter<'a> type Item = UnsubscribeItem<'a>;
[src]
Notable traits for UnsubscribeIter<'a>
impl<'a> Iterator for UnsubscribeIter<'a> type Item = UnsubscribeItem<'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]
convert packet to a result
pub fn packet(&self) -> &Unsubscribe
[src]
Returns reference to unsubscribe packet
Trait Implementations
impl<'a> IntoIterator for &'a mut Unsubscribe
[src]
impl<'a> IntoIterator for &'a mut Unsubscribe
[src]type Item = UnsubscribeItem<'a>
The type of the elements being iterated over.
type IntoIter = UnsubscribeIter<'a>
Which kind of iterator are we turning this into?
fn into_iter(self) -> UnsubscribeIter<'a>ⓘNotable traits for UnsubscribeIter<'a>
impl<'a> Iterator for UnsubscribeIter<'a> type Item = UnsubscribeItem<'a>;
[src]
Notable traits for UnsubscribeIter<'a>
impl<'a> Iterator for UnsubscribeIter<'a> type Item = UnsubscribeItem<'a>;
Auto Trait Implementations
impl RefUnwindSafe for Unsubscribe
impl RefUnwindSafe for Unsubscribe
impl Send for Unsubscribe
impl Send for Unsubscribe
impl Sync for Unsubscribe
impl Sync for Unsubscribe
impl Unpin for Unsubscribe
impl Unpin for Unsubscribe
impl UnwindSafe for Unsubscribe
impl UnwindSafe for Unsubscribe
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