pub struct SessionTouchMiddleware;Trait Implementations§
Source§impl RequestMiddleware for SessionTouchMiddleware
impl RequestMiddleware for SessionTouchMiddleware
fn on_request<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
state: &'life1 ProxyState,
ctx: &'life2 mut RequestContext,
) -> Pin<Box<dyn Future<Output = Option<Response>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for SessionTouchMiddleware
impl RefUnwindSafe for SessionTouchMiddleware
impl Send for SessionTouchMiddleware
impl Sync for SessionTouchMiddleware
impl Unpin for SessionTouchMiddleware
impl UnsafeUnpin for SessionTouchMiddleware
impl UnwindSafe for SessionTouchMiddleware
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