pub struct Subscribe { /* private fields */ }
Expand description
Subscribe message
Implementations§
source§impl Subscribe
impl Subscribe
sourcepub fn iter_mut(&mut self) -> SubscribeIter<'_> ⓘ
pub fn iter_mut(&mut self) -> SubscribeIter<'_> ⓘ
returns iterator over subscription topics
sourcepub fn ack(self) -> ControlResult
pub fn ack(self) -> ControlResult
convert subscription to a result
Trait Implementations§
source§impl<'a> IntoIterator for &'a mut Subscribe
impl<'a> IntoIterator for &'a mut Subscribe
§type Item = Subscription<'a>
type Item = Subscription<'a>
The type of the elements being iterated over.
§type IntoIter = SubscribeIter<'a>
type IntoIter = SubscribeIter<'a>
Which kind of iterator are we turning this into?