[][src]Trait libremexre::warp::FutureExt

pub trait FutureExt: Sized {
    fn err_to_rejection(self) -> ErrToRejection<Self>;
}

An extension trait for Futures.

Required methods

fn err_to_rejection(self) -> ErrToRejection<Self>

Converts an error to a warp::Rejection.

Loading content...

Implementors

impl<F> FutureExt for F where
    F: Future,
    F::Error: 'static + Error + Send + Sync
[src]

Loading content...