pub enum HttpRequestAction {
Respond(AuthResponse),
ReplaceRequest(Box<AuthRequest>),
}Expand description
Physical HTTP hook control flow, before route selection and endpoint hooks.
Variants§
Respond(AuthResponse)
Finish transport processing without endpoint or HTTP response hooks.
ReplaceRequest(Box<AuthRequest>)
Replace physical input for later HTTP hooks and route selection. Dispatch discards session state, extensions and queued headers on this value.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HttpRequestAction
impl RefUnwindSafe for HttpRequestAction
impl Send for HttpRequestAction
impl Sync for HttpRequestAction
impl Unpin for HttpRequestAction
impl UnsafeUnpin for HttpRequestAction
impl UnwindSafe for HttpRequestAction
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