Trait 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 &mut (dyn FnMut() -> Result<()> + Send + Sync)

Source§

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

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<()>

Implementors§