Struct ntex_mqtt::v5::control::Unsubscribe [−][src]
Unsubscribe message
Implementations
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 stream 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
Trait Implementations
impl Debug for 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 Send for Unsubscribe
impl Sync for Unsubscribe
impl Unpin for Unsubscribe
impl UnwindSafe for Unsubscribe
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> 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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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.
pub 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.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,