pub struct FilterChain { /* private fields */ }Implementations§
Source§impl FilterChain
impl FilterChain
pub fn new() -> Self
pub fn add_filter(self, filter: Box<dyn Filter>) -> Self
pub fn filter_request(&self, request: &mut SerializableRequest)
pub fn filter_response(&self, response: &mut SerializableResponse)
Trait Implementations§
Source§impl Debug for FilterChain
impl Debug for FilterChain
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