Trait warp::filter::wrap::WrapSealed

source ·
pub trait WrapSealed<F: Filter> {
    type Wrapped: Filter;

    // Required method
    fn wrap(&self, filter: F) -> Self::Wrapped;
}

Required Associated Types§

Required Methods§

source

fn wrap(&self, filter: F) -> Self::Wrapped

Implementations on Foreign Types§

source§

impl<'a, T, F> WrapSealed<F> for &'a T
where T: WrapSealed<F>, F: Filter,

§

type Wrapped = <T as WrapSealed<F>>::Wrapped

source§

fn wrap(&self, filter: F) -> Self::Wrapped

Implementors§

source§

impl<F> WrapSealed<F> for Builder

source§

impl<F> WrapSealed<F> for Cors

source§

impl<F, R> WrapSealed<F> for WithDefaultHeader
where F: Filter<Extract = (R,)>, R: Reply,

source§

impl<F, R> WrapSealed<F> for WithHeader
where F: Filter<Extract = (R,)>, R: Reply,

source§

impl<F, R> WrapSealed<F> for WithHeaders
where F: Filter<Extract = (R,)>, R: Reply,

source§

impl<F, T, U> WrapSealed<T> for WrapFn<F>
where F: Fn(T) -> U, T: Filter, U: Filter,

§

type Wrapped = U

source§

impl<FN, F> WrapSealed<F> for Log<FN>
where FN: Fn(Info<'_>) + Clone + Send, F: Filter + Clone + Send, F::Extract: Reply, F::Error: IsReject,

§

type Wrapped = WithLog<FN, F>

source§

impl<FN, F> WrapSealed<F> for Trace<FN>
where FN: Fn(Info<'_>) -> Span + Clone + Send, F: Filter + Clone + Send, F::Extract: Reply, F::Error: IsReject,

§

type Wrapped = WithTrace<FN, F>