Trait futures_diagnose::FutureExt[][src]

pub trait FutureExt: Future {
    fn with_diagnostics(
        self,
        name: impl Into<Cow<'static, str>>
    ) -> DiagnoseFuture<Self>

Notable traits for DiagnoseFuture<T>

impl<T> Future for DiagnoseFuture<T> where
    T: Future
type Output = T::Output;

    where
        Self: Sized
, { ... } }

Extension trait on Futures.

Provided methods

fn with_diagnostics(
    self,
    name: impl Into<Cow<'static, str>>
) -> DiagnoseFuture<Self>

Notable traits for DiagnoseFuture<T>

impl<T> Future for DiagnoseFuture<T> where
    T: Future
type Output = T::Output;
where
    Self: Sized
[src]

Loading content...

Implementors

impl<T> FutureExt for T where
    T: Future
[src]

Loading content...