pub struct Subscribe { /* private fields */ }
Expand description
Subscribe message
Implementations§
source§impl Subscribe
impl Subscribe
sourcepub fn packet_size(&self) -> u32
pub fn packet_size(&self) -> u32
Returns size of the packet
sourcepub fn iter_mut(&mut self) -> SubscribeIter<'_> ⓘ
pub fn iter_mut(&mut self) -> SubscribeIter<'_> ⓘ
returns iterator over subscription topics
sourcepub fn ack(self) -> ControlAck
pub fn ack(self) -> ControlAck
convert subscription to a result
Trait Implementations§
source§impl<'a> IntoIterator for &'a mut Subscribe
impl<'a> IntoIterator for &'a mut Subscribe
source§type Item = Subscription<'a>
type Item = Subscription<'a>
The type of the elements being iterated over.
source§type IntoIter = SubscribeIter<'a>
type IntoIter = SubscribeIter<'a>
Which kind of iterator are we turning this into?
Auto Trait Implementations§
impl Freeze for Subscribe
impl !RefUnwindSafe for Subscribe
impl Send for Subscribe
impl Sync for Subscribe
impl Unpin for Subscribe
impl !UnwindSafe for Subscribe
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more