Struct steward::cmd::SpawnOptions
source · pub struct SpawnOptions {
pub stdout: Stdio,
pub stderr: Stdio,
pub timeout: KillTimeout,
}
Expand description
Options for Cmd::spawn
.
Fields§
§stdout: Stdio
Stdout stream.
stderr: Stdio
Stderr stream.
timeout: KillTimeout
Amount of time to wait before killing hanged process. See KillTimeout
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpawnOptions
impl RefUnwindSafe for SpawnOptions
impl Send for SpawnOptions
impl Sync for SpawnOptions
impl Unpin for SpawnOptions
impl UnwindSafe for SpawnOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more