pub struct Labeled<Fut> { /* private fields */ }Expand description
Trait Implementations§
impl<'__pin, Fut> Unpin for Labeled<Fut>where
PinnedFieldsOf<__Origin<'__pin, Fut>>: Unpin,
Auto Trait Implementations§
impl<Fut> Freeze for Labeled<Fut>where
Fut: Freeze,
impl<Fut> RefUnwindSafe for Labeled<Fut>where
Fut: RefUnwindSafe,
impl<Fut> Send for Labeled<Fut>where
Fut: Send,
impl<Fut> !Sync for Labeled<Fut>
impl<Fut> UnwindSafe for Labeled<Fut>where
Fut: UnwindSafe,
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
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more
Source§impl<Fut> Label for Futwhere
Fut: Future,
impl<Fut> Label for Futwhere
Fut: Future,
Source§fn with_current_labels(self) -> Labeled<Fut> ⓘ
fn with_current_labels(self) -> Labeled<Fut> ⓘ
Attach the currently active labels to the future. Read more
Source§fn with_label<K, V>(self, k: K, v: V) -> Labeled<Fut> ⓘ
fn with_label<K, V>(self, k: K, v: V) -> Labeled<Fut> ⓘ
Attach a single label to the future. Read more