pub struct ContentTypeMiddleware { /* private fields */ }Expand description
Content type validation middleware
Implementations§
Trait Implementations§
Source§impl Middleware for ContentTypeMiddleware
impl Middleware for ContentTypeMiddleware
Auto Trait Implementations§
impl Freeze for ContentTypeMiddleware
impl RefUnwindSafe for ContentTypeMiddleware
impl Send for ContentTypeMiddleware
impl Sync for ContentTypeMiddleware
impl Unpin for ContentTypeMiddleware
impl UnwindSafe for ContentTypeMiddleware
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