Trait salvo::routing::Filter [−][src]
Required methods
Loading content...Provided methods
pub fn and<F>(self, other: F) -> And<Self, F> where
F: Filter + Sync + Send,
[src]
F: Filter + Sync + Send,
pub fn or<F>(self, other: F) -> Or<Self, F> where
F: Filter + Sync + Send,
[src]
F: Filter + Sync + Send,
pub fn and_then<F, U>(self, fun: F) -> AndThen<Self, F> where
F: Fn(&mut Request, &mut PathState) -> bool + Send + Sync + 'static,
U: Filter + Sync + Send,
[src]
F: Fn(&mut Request, &mut PathState) -> bool + Send + Sync + 'static,
U: Filter + Sync + Send,
pub fn or_else<F, U>(self, fun: F) -> OrElse<Self, F> where
F: Fn(&mut Request, &mut PathState) -> bool + Send + Sync + 'static,
U: Filter + Sync + Send,
[src]
F: Fn(&mut Request, &mut PathState) -> bool + Send + Sync + 'static,
U: Filter + Sync + Send,
Implementors
impl<F> Filter for FnFilter<F> where
F: Fn(&mut Request, &mut PathState) -> bool + Send + Sync + 'static,
[src]
F: Fn(&mut Request, &mut PathState) -> bool + Send + Sync + 'static,