pub struct FilterChain { /* private fields */ }
Implementations§
Source§impl FilterChain
impl FilterChain
pub fn new() -> FilterChain
pub fn add_filter(&mut self, filter_handler: Filter, match_url: &str)
pub fn exec( &self, request: HttpRequest, response: HttpResponse, ) -> Option<(HttpRequest, HttpResponse)>
Auto Trait Implementations§
impl Freeze for FilterChain
impl !RefUnwindSafe for FilterChain
impl Send for FilterChain
impl Sync for FilterChain
impl Unpin for FilterChain
impl !UnwindSafe for FilterChain
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more