Struct decthings_api::rpc::spawned::SpawnedCommandOptions
source · pub struct SpawnedCommandOptions<'a> {
pub timeout_seconds: Option<u32>,
pub timeout_after_inactive_seconds: Option<u32>,
pub launcher_config: Option<&'a LauncherConfig>,
}
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.
launcher_config: Option<&'a LauncherConfig>
LauncherConfig to use.
Trait Implementations§
source§impl<'a> Clone for SpawnedCommandOptions<'a>
impl<'a> Clone for SpawnedCommandOptions<'a>
source§fn clone(&self) -> SpawnedCommandOptions<'a>
fn clone(&self) -> SpawnedCommandOptions<'a>
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<'a> Debug for SpawnedCommandOptions<'a>
impl<'a> Debug for SpawnedCommandOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for SpawnedCommandOptions<'a>
impl<'a> RefUnwindSafe for SpawnedCommandOptions<'a>
impl<'a> Send for SpawnedCommandOptions<'a>
impl<'a> Sync for SpawnedCommandOptions<'a>
impl<'a> Unpin for SpawnedCommandOptions<'a>
impl<'a> UnwindSafe for SpawnedCommandOptions<'a>
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