pub struct SelectiveMiddleWare { /* private fields */ }
Implementations§
Source§impl SelectiveMiddleWare
impl SelectiveMiddleWare
Sourcepub fn new<H: Handler, M: BeforeMiddleware>(handler: H, m: Vec<M>) -> Self
pub fn new<H: Handler, M: BeforeMiddleware>(handler: H, m: Vec<M>) -> Self
Create a new SelectiveMiddleWare instance with the given BeforeMiddleware.
Trait Implementations§
Source§impl Handler for SelectiveMiddleWare
impl Handler for SelectiveMiddleWare
Auto Trait Implementations§
impl Freeze for SelectiveMiddleWare
impl !RefUnwindSafe for SelectiveMiddleWare
impl Send for SelectiveMiddleWare
impl Sync for SelectiveMiddleWare
impl Unpin for SelectiveMiddleWare
impl !UnwindSafe for SelectiveMiddleWare
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