pub struct HookExecutor;Expand description
Default hook executor implementation.
Implementations§
Source§impl HookExecutor
impl HookExecutor
Trait Implementations§
Source§impl Clone for HookExecutor
impl Clone for HookExecutor
Source§fn clone(&self) -> HookExecutor
fn clone(&self) -> HookExecutor
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 moreSource§impl Debug for HookExecutor
impl Debug for HookExecutor
Source§impl Default for HookExecutor
impl Default for HookExecutor
Source§fn default() -> HookExecutor
fn default() -> HookExecutor
Returns the “default value” for a type. Read more
Source§impl HookExecutorContract for HookExecutor
impl HookExecutorContract for HookExecutor
Source§fn run(
&self,
request: HookRunRequest,
) -> Result<HookRunResult, HookExecutorError>
fn run( &self, request: HookRunRequest, ) -> Result<HookRunResult, HookExecutorError>
Executes a hook command invocation.
Auto Trait Implementations§
impl Freeze for HookExecutor
impl RefUnwindSafe for HookExecutor
impl Send for HookExecutor
impl Sync for HookExecutor
impl Unpin for HookExecutor
impl UnsafeUnpin for HookExecutor
impl UnwindSafe for HookExecutor
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