Struct TrackCompletionFuture
struct TrackCompletionFuture<F, C, H> { ... }
Attaches a C-typed completion tracker to the result of an F-typed Future.
Implementations
impl<F, C, H> TrackCompletionFuture<F, C, H>
const fn new(completion: C, handle: H, future: F) -> SelfWraps a future, propagating the tracker into its value if successful.
impl<'__pin, F, C, H> Unpin for TrackCompletionFuture<F, C, H>
impl<F> IntoFuture for TrackCompletionFuture<F, C, H>
fn into_future(self: Self) -> <F as IntoFuture>::IntoFuture
impl<F, C, H> Freeze for TrackCompletionFuture<F, C, H>
impl<F, C, H> RefUnwindSafe for TrackCompletionFuture<F, C, H>
impl<F, C, H> Send for TrackCompletionFuture<F, C, H>
impl<F, C, H> Sync for TrackCompletionFuture<F, C, H>
impl<F, C, H> UnwindSafe for TrackCompletionFuture<F, C, H>
impl<F, C, H, T, E> Future for TrackCompletionFuture<F, C, H>
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<<Self as >::Output>
impl<F, T, E> TryFuture for TrackCompletionFuture<F, C, H>
fn try_poll(self: Pin<&mut F>, cx: &mut Context<'_>) -> Poll<<F as Future>::Output>
impl<F: $crate::fmt::Debug, C: $crate::fmt::Debug, H: $crate::fmt::Debug> Debug for TrackCompletionFuture<F, C, H>
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl<Fut> TryFutureExt for TrackCompletionFuture<F, C, H>
impl<T> Any for TrackCompletionFuture<F, C, H>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for TrackCompletionFuture<F, C, H>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for TrackCompletionFuture<F, C, H>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for TrackCompletionFuture<F, C, H>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> FutureExt for TrackCompletionFuture<F, C, H>
impl<T> Instrument for TrackCompletionFuture<F, C, H>
impl<T> WithSubscriber for TrackCompletionFuture<F, C, H>
impl<T, U> Into for TrackCompletionFuture<F, C, H>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for TrackCompletionFuture<F, C, H>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for TrackCompletionFuture<F, C, H>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>