HandleProcessExt

Trait HandleProcessExt 

Source
pub trait HandleProcessExt {
    // Required method
    fn channel_open_exec_spawn(
        &self,
        command: Vec<u8>,
    ) -> impl Future<Output = Result<Command<Msg>, Error>> + Send;

    // Provided method
    fn channel_open_exec_output(
        &self,
        command: Vec<u8>,
    ) -> impl Future<Output = Result<Output, Error>> + Send
       where Self: Sync { ... }
}

Required Methods§

Source

fn channel_open_exec_spawn( &self, command: Vec<u8>, ) -> impl Future<Output = Result<Command<Msg>, Error>> + Send

Provided Methods§

Source

fn channel_open_exec_output( &self, command: Vec<u8>, ) -> impl Future<Output = Result<Output, Error>> + Send
where Self: Sync,

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<H> HandleProcessExt for Handle<H>
where H: Handler,

Source§

fn channel_open_exec_spawn( &self, command: Vec<u8>, ) -> impl Future<Output = Result<Command<Msg>, Error>> + Send

Implementors§