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§
Provided Methods§
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.