pub struct ShellHook { /* private fields */ }Expand description
A configured shell hook that implements the Hook trait.
Implementations§
Trait Implementations§
Source§impl Hook for ShellHook
impl Hook for ShellHook
fn name(&self) -> &str
fn timing(&self) -> HookTiming
fn target(&self) -> HookTarget
fn run<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 HookContext,
) -> Pin<Box<dyn Future<Output = HookResult> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for ShellHook
impl RefUnwindSafe for ShellHook
impl Send for ShellHook
impl Sync for ShellHook
impl Unpin for ShellHook
impl UnsafeUnpin for ShellHook
impl UnwindSafe for ShellHook
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