#[non_exhaustive]pub enum EventKind {
Refused,
Denied,
Failed,
Panicked,
Revoked,
}Expand description
What kind of thing happened.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Refused
Refused before a handler: a malformed path, an unknown host, no route, a method the route does not take.
Denied
A gate denied the request.
Failed
A handler or render failed (any handler error, and every 5xx).
Panicked
A handler panicked; answered with 500.
Revoked
A checkpoint stopped the request in flight.
Trait Implementations§
impl Copy for EventKind
impl Eq for EventKind
impl StructuralPartialEq for EventKind
Auto Trait Implementations§
impl Forget for EventKind
impl Freeze for EventKind
impl RefUnwindSafe for EventKind
impl Send for EventKind
impl Sync for EventKind
impl Unpin for EventKind
impl UnsafeUnpin for EventKind
impl UnwindSafe for EventKind
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