Expand description
The object returned by the middleware.
- If
Outcome.success
is set totrue
theRequest
is passed to the controller. - If
Outcome.success
is set tofalse
the controller is skipped and theOutcome.response
is sent to the browser.
Fields
success: bool
response: Option<Response>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnwindSafe for Outcome
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more