Trait rhook::RunHook[][src]

pub trait RunHook {
    fn set_hooks(&mut self) -> Result<&mut Self>;

    fn add_hook(&mut self, hook: Hook) -> &mut Self { ... }
fn add_hooks(&mut self, hooks: Vec<Hook>) -> &mut Self { ... } }

Specify libc hooks for a Command

Required methods

fn set_hooks(&mut self) -> Result<&mut Self>[src]

Set the hooks, this is a required method since it does the actual work of creating a dynamic library and linking the target program with it

Loading content...

Provided methods

fn add_hook(&mut self, hook: Hook) -> &mut Self[src]

Add a libc hook to the command

fn add_hooks(&mut self, hooks: Vec<Hook>) -> &mut Self[src]

Add a Vec of libc hooks to the command

Loading content...

Implementations on Foreign Types

impl RunHook for Command[src]

Loading content...

Implementors

Loading content...