Trait SpawnExt

Source
pub trait SpawnExt {
    // Required method
    fn pass_stdin(&mut self, stdin: impl Into<Vec<u8>>) -> SpawnWithStdin<'_>;
}
Expand description

Utility methods for spawning.

Required Methods§

Source

fn pass_stdin(&mut self, stdin: impl Into<Vec<u8>>) -> SpawnWithStdin<'_>

This passes the given input to stdin before spawning the command.

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.

Implementors§

Source§

impl<T: Spawn> SpawnExt for T