pub enum GlobalHookAction {
Continue(ApiRequest),
Respond(ApiResponse),
}Expand description
Action returned by a global before hook.
Variants§
Continue(ApiRequest)
Respond(ApiResponse)
Auto Trait Implementations§
impl !Freeze for GlobalHookAction
impl !RefUnwindSafe for GlobalHookAction
impl !UnwindSafe for GlobalHookAction
impl Send for GlobalHookAction
impl Sync for GlobalHookAction
impl Unpin for GlobalHookAction
impl UnsafeUnpin for GlobalHookAction
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