pub struct CommandOptions {
pub timeout_ms: Option<u64>,
pub stdin: bool,
}Expand description
Options for starting a sandbox command.
Fields§
§timeout_ms: Option<u64>Process timeout in milliseconds. Defaults to 60 seconds when omitted.
stdin: boolWhether the process should keep stdin open.
Trait Implementations§
Source§impl Clone for CommandOptions
impl Clone for CommandOptions
Source§fn clone(&self) -> CommandOptions
fn clone(&self) -> CommandOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CommandOptions
impl Debug for CommandOptions
Source§impl Default for CommandOptions
impl Default for CommandOptions
Source§fn default() -> CommandOptions
fn default() -> CommandOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CommandOptions
impl RefUnwindSafe for CommandOptions
impl Send for CommandOptions
impl Sync for CommandOptions
impl Unpin for CommandOptions
impl UnsafeUnpin for CommandOptions
impl UnwindSafe for CommandOptions
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