Struct summer_boot::utils::util::After
source · pub struct After<F>(pub F);Expand description
定义对传出响应进行操作的中间件。
用于定义内联中间件的闭包。
Tuple Fields§
§0: FTrait Implementations§
source§impl<State, F, Fut> Middleware<State> for After<F>
impl<State, F, Fut> Middleware<State> for After<F>
Auto Trait Implementations§
impl<F> RefUnwindSafe for After<F>where
F: RefUnwindSafe,
impl<F> Send for After<F>where
F: Send,
impl<F> Sync for After<F>where
F: Sync,
impl<F> Unpin for After<F>where
F: Unpin,
impl<F> UnwindSafe for After<F>where
F: UnwindSafe,
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