pub struct Subscribing { /* private fields */ }Expand description
The pollable state of a Consumer::subscribe; awaited via the [kio::Pending] wrapper.
Implementations§
Source§impl Subscribing
impl Subscribing
Sourcepub fn poll_ok(&self, waiter: &Waiter) -> Poll<Result<Subscriber>>
pub fn poll_ok(&self, waiter: &Waiter) -> Poll<Result<Subscriber>>
Poll until the publisher confirms the subscription, yielding the Subscriber.
Sourcepub fn update(&mut self, subscription: Subscription) -> Result<()>
pub fn update(&mut self, subscription: Subscription) -> Result<()>
Change the subscription preferences before (or after) it resolves; see
track::Subscribing::update.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Subscribing
impl RefUnwindSafe for Subscribing
impl Send for Subscribing
impl Sync for Subscribing
impl Unpin for Subscribing
impl UnsafeUnpin for Subscribing
impl UnwindSafe for Subscribing
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