pub trait FilterExt: Filter + Sized{
// Provided methods
fn to_if<Cushion, F, TransF>(
self,
f: F,
transformer: TransF,
) -> impl Filter<Context = Cushion>
where Self: Sized,
Cushion: Sync + Send,
F: Fn(&Cushion) -> bool + Send,
TransF: Fn(&Cushion) -> <Self as Filter>::Context + Send { ... }
fn reverse(self) -> impl Filter<Context = <Self as Filter>::Context> { ... }
fn comb<Cushion, T, Ctx, F1, F2, F3>(
self,
transformer1: F1,
filter2: T,
transformer2: F2,
predicater: F3,
) -> impl Filter<Context = Cushion>
where Self: Sized,
T: Filter<Context = Ctx>,
F1: Fn(&Cushion) -> <Self as Filter>::Context + Send,
F2: Fn(&Cushion) -> Ctx + Send,
F3: Fn(bool, bool) -> bool + Send,
Cushion: Sync + Send { ... }
}Provided Methods§
fn to_if<Cushion, F, TransF>( self, f: F, transformer: TransF, ) -> impl Filter<Context = Cushion>
fn reverse(self) -> impl Filter<Context = <Self as Filter>::Context>
fn comb<Cushion, T, Ctx, F1, F2, F3>( self, transformer1: F1, filter2: T, transformer2: F2, predicater: F3, ) -> impl Filter<Context = Cushion>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.