pub enum HookDefinition {
Command(HookConfig),
Native(NativeHookConfig),
}Variants§
Command(HookConfig)
Native(NativeHookConfig)
Trait Implementations§
Source§impl Clone for HookDefinition
impl Clone for HookDefinition
Auto Trait Implementations§
impl Forget for HookDefinition
impl Freeze for HookDefinitionwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<(String, Vec<u8>)>: Freeze,
impl Move for HookDefinition
impl RefUnwindSafe for HookDefinition
impl Send for HookDefinition
impl Sync for HookDefinition
impl Unpin for HookDefinition
impl UnsafeUnpin for HookDefinitionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<(String, Vec<u8>)>: UnsafeUnpin,
impl UnwindSafe for HookDefinition
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