Skip to main content

Exec

Trait Exec 

Source
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§

Source

fn display(&self) -> TsdlResult<String>

Source

fn display_full(&self) -> TsdlResult<String>

Source

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.

Implementations on Foreign Types§

Source§

impl Exec for Command

Implementors§