Trait ChildExt

Source
pub trait ChildExt {
    // Required method
    fn spawn_async<'life0, 'async_trait>(
        &'life0 mut self,
        stdin: Option<Vec<u8>>,
        timeout: Option<Duration>,
        max_size: Option<usize>,
    ) -> Pin<Box<dyn Future<Output = Result<SpawnAsyncOutput>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn spawn_async<'life0, 'async_trait>( &'life0 mut self, stdin: Option<Vec<u8>>, timeout: Option<Duration>, max_size: Option<usize>, ) -> Pin<Box<dyn Future<Output = Result<SpawnAsyncOutput>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementations on Foreign Types§

Source§

impl ChildExt for Command

Source§

fn spawn_async<'life0, 'async_trait>( &'life0 mut self, stdin: Option<Vec<u8>>, timeout: Option<Duration>, max_size: Option<usize>, ) -> Pin<Box<dyn Future<Output = Result<SpawnAsyncOutput>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§