pub trait PreExec {
// Required method
fn run(&mut self) -> Result<()>;
}Required Methods§
Implementations on Foreign Types§
Source§impl PreExec for Box<dyn FnMut() -> Result<()> + Send + Sync>
Available on crate feature alloc only.
impl PreExec for Box<dyn FnMut() -> Result<()> + Send + Sync>
Available on crate feature
alloc only.