TryFutureExt

Trait TryFutureExt 

Source
pub trait TryFutureExt {
    // Required methods
    fn log_err(self) -> LogErrorFuture<Self> 
       where Self: Sized;
    fn log_tracked_err(
        self,
        location: Location<'static>,
    ) -> LogErrorFuture<Self> 
       where Self: Sized;
    fn warn_on_err(self) -> LogErrorFuture<Self> 
       where Self: Sized;
    fn unwrap(self) -> UnwrapFuture<Self> 
       where Self: Sized;
}

Required Methods§

Source

fn log_err(self) -> LogErrorFuture<Self>
where Self: Sized,

Source

fn log_tracked_err(self, location: Location<'static>) -> LogErrorFuture<Self>
where Self: Sized,

Source

fn warn_on_err(self) -> LogErrorFuture<Self>
where Self: Sized,

Source

fn unwrap(self) -> UnwrapFuture<Self>
where Self: Sized,

Implementors§

Source§

impl<F, T, E> TryFutureExt for F
where F: Future<Output = Result<T, E>>, E: Debug,