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