pub enum HandlerResult {
End,
Next,
}Expand description
Result of the handler
End - Stops the execution of the handler chain
Next - Continues the execution of the handler chain
Variants§
End
Stops the execution of the handler chain. And the response is sent to the client.
Next
Continues the execution of the handler chain.
Trait Implementations§
Source§impl Debug for HandlerResult
impl Debug for HandlerResult
Source§impl PartialEq for HandlerResult
impl PartialEq for HandlerResult
impl Eq for HandlerResult
impl StructuralPartialEq for HandlerResult
Auto Trait Implementations§
impl Freeze for HandlerResult
impl RefUnwindSafe for HandlerResult
impl Send for HandlerResult
impl Sync for HandlerResult
impl Unpin for HandlerResult
impl UnwindSafe for HandlerResult
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