pub struct CommandExecParams {Show 13 fields
pub command: Vec<String>,
pub process_id: Option<String>,
pub tty: bool,
pub stream_stdin: bool,
pub stream_stdout_stderr: bool,
pub output_bytes_cap: Option<usize>,
pub disable_output_cap: bool,
pub disable_timeout: bool,
pub timeout_ms: Option<i64>,
pub cwd: Option<String>,
pub env: Option<BTreeMap<String, Option<String>>>,
pub size: Option<CommandExecTerminalSize>,
pub sandbox_policy: Option<SandboxPolicy>,
}Fields§
§command: Vec<String>§process_id: Option<String>§tty: bool§stream_stdin: bool§stream_stdout_stderr: bool§output_bytes_cap: Option<usize>§disable_output_cap: bool§disable_timeout: bool§timeout_ms: Option<i64>§cwd: Option<String>§env: Option<BTreeMap<String, Option<String>>>§size: Option<CommandExecTerminalSize>§sandbox_policy: Option<SandboxPolicy>Trait Implementations§
Source§impl Clone for CommandExecParams
impl Clone for CommandExecParams
Source§fn clone(&self) -> CommandExecParams
fn clone(&self) -> CommandExecParams
Returns a duplicate 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 CommandExecParams
impl Debug for CommandExecParams
Source§impl Default for CommandExecParams
impl Default for CommandExecParams
Source§fn default() -> CommandExecParams
fn default() -> CommandExecParams
Returns the “default value” for a type. Read more
Source§impl PartialEq for CommandExecParams
impl PartialEq for CommandExecParams
impl StructuralPartialEq for CommandExecParams
Auto Trait Implementations§
impl Freeze for CommandExecParams
impl RefUnwindSafe for CommandExecParams
impl Send for CommandExecParams
impl Sync for CommandExecParams
impl Unpin for CommandExecParams
impl UnsafeUnpin for CommandExecParams
impl UnwindSafe for CommandExecParams
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