pub struct Subscribe { /* private fields */ }
Expand description
Subscribe message
Implementations
sourceimpl Subscribe
impl Subscribe
sourcepub fn iter_mut(&mut self) -> SubscribeIter<'_>ⓘNotable traits for SubscribeIter<'a>impl<'a> Iterator for SubscribeIter<'a> type Item = Subscription<'a>;
pub fn iter_mut(&mut self) -> SubscribeIter<'_>ⓘNotable traits for SubscribeIter<'a>impl<'a> Iterator for SubscribeIter<'a> type Item = Subscription<'a>;
returns iterator over subscription topics
sourcepub fn ack(self) -> ControlResult
pub fn ack(self) -> ControlResult
convert subscription to a result
Trait Implementations
sourceimpl<'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?
sourcefn into_iter(self) -> SubscribeIter<'a>ⓘNotable traits for SubscribeIter<'a>impl<'a> Iterator for SubscribeIter<'a> type Item = Subscription<'a>;
fn into_iter(self) -> SubscribeIter<'a>ⓘNotable traits for SubscribeIter<'a>impl<'a> Iterator for SubscribeIter<'a> type Item = Subscription<'a>;
Creates an iterator from a value. Read more
Auto Trait Implementations
impl !RefUnwindSafe for Subscribe
impl Send for Subscribe
impl Sync for Subscribe
impl Unpin for Subscribe
impl !UnwindSafe for Subscribe
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more