Trait tiny_std::process::PreExec

source ·
pub trait PreExec {
    // Required method
    fn run(&mut self) -> Result<()>;
}

Required Methods§

source

fn run(&mut self) -> Result<()>

Run this routing pre exec

Errors

Any errors occuring, it’s up to the implementor to decide

Implementations on Foreign Types§

source§

impl PreExec for ()

source§

fn run(&mut self) -> Result<()>

source§

impl PreExec for Box<dyn FnMut() -> Result<()> + Send + Sync>

source§

fn run(&mut self) -> Result<()>

source§

impl<'a> PreExec for &'a mut (dyn FnMut() -> Result<()> + Send + Sync)

source§

fn run(&mut self) -> Result<()>

Implementors§