pub struct SpawnedCommandOptions {
pub timeout_seconds: Option<u32>,
pub timeout_after_inactive_seconds: Option<u32>,
}Fields§
§timeout_seconds: Option<u32>Will automatically terminate the command after this amount of time. Default: 3600.
timeout_after_inactive_seconds: Option<u32>Will automatically terminate the command if no output is received from the process for this amount of time. Default: 600.
Trait Implementations§
source§impl Clone for SpawnedCommandOptions
impl Clone for SpawnedCommandOptions
source§fn clone(&self) -> SpawnedCommandOptions
fn clone(&self) -> SpawnedCommandOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SpawnedCommandOptions
impl Debug for SpawnedCommandOptions
Auto Trait Implementations§
impl Freeze for SpawnedCommandOptions
impl RefUnwindSafe for SpawnedCommandOptions
impl Send for SpawnedCommandOptions
impl Sync for SpawnedCommandOptions
impl Unpin for SpawnedCommandOptions
impl UnwindSafe for SpawnedCommandOptions
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)