pub enum SessionHookCommand {
Regular(HookCommand),
Function(FunctionHook),
}Expand description
Extended hook command that can be either a regular hook or a function hook
Variants§
Regular(HookCommand)
Function(FunctionHook)
Trait Implementations§
Source§impl Clone for SessionHookCommand
impl Clone for SessionHookCommand
Source§fn clone(&self) -> SessionHookCommand
fn clone(&self) -> SessionHookCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SessionHookCommand
impl !RefUnwindSafe for SessionHookCommand
impl Send for SessionHookCommand
impl Sync for SessionHookCommand
impl Unpin for SessionHookCommand
impl UnsafeUnpin for SessionHookCommand
impl !UnwindSafe for SessionHookCommand
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