Trait Executable

Source
pub trait Executable: ICallableApi + Sized {
    // Required method
    fn execute(&mut self) -> Result<cell_t, SPError>;

    // Provided method
    fn push<T: CallableParam>(&mut self, param: T) -> Result<(), SPError> { ... }
}

Required Methods§

Source

fn execute(&mut self) -> Result<cell_t, SPError>

Provided Methods§

Source

fn push<T: CallableParam>(&mut self, param: T) -> Result<(), SPError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§