pub trait Exec {
// Required methods
fn display(&self) -> TsdlResult<String>;
fn display_full(&self) -> TsdlResult<String>;
fn exec(&mut self) -> impl Future<Output = TsdlResult<Output>>;
}Required Methods§
fn display(&self) -> TsdlResult<String>
fn display_full(&self) -> TsdlResult<String>
fn exec(&mut self) -> impl Future<Output = TsdlResult<Output>>
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.