Enum afire::middleware::MiddleResult
source · pub enum MiddleResult {
Continue,
Abort,
Send(Response),
}
Expand description
A response from a middleware handler
Variants§
Continue
Continue to the next middleware
Abort
Stop the middleware chain
Send(Response)
Stop the middleware chain and send this response
Auto Trait Implementations§
impl !RefUnwindSafe for MiddleResult
impl Send for MiddleResult
impl !Sync for MiddleResult
impl Unpin for MiddleResult
impl !UnwindSafe for MiddleResult
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