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§
fn channel_open_exec_spawn( &self, command: Vec<u8>, ) -> impl Future<Output = Result<Command<Msg>, Error>> + Send
Provided Methods§
fn channel_open_exec_output(
&self,
command: Vec<u8>,
) -> impl Future<Output = Result<Output, Error>> + Sendwhere
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.