pub trait PtySlave: Send + 'static {
type Child: PtyChild;
// Required method
fn spawn(
self,
argv: &[OsString],
cwd: Option<&Path>,
env: Option<&[(OsString, OsString)]>,
) -> Result<Self::Child>;
}Expand description
Platform-neutral handle for the slave side of a pseudo-terminal.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".