pub struct ExecProfile {Show 16 fields
pub name: String,
pub executable: String,
pub args: ArgPolicy,
pub deny_flags: DenyFlags,
pub allow_shell: bool,
pub env: EnvPolicy,
pub working_dir: String,
pub timeout_secs: u64,
pub accepted_exit_codes: Vec<i32>,
pub concurrency: usize,
pub stdin_max_bytes: usize,
pub stdout_max_bytes: usize,
pub stderr_max_bytes: usize,
pub sandbox: Sandbox,
pub output_mode: OutputMode,
pub canonical_executable: Option<PathBuf>,
}Expand description
A single named execution profile.
Fields§
§name: String§executable: String§args: ArgPolicy§deny_flags: DenyFlags§allow_shell: bool§env: EnvPolicy§working_dir: String§timeout_secs: u64§accepted_exit_codes: Vec<i32>§concurrency: usize§stdin_max_bytes: usize§stdout_max_bytes: usize§stderr_max_bytes: usize§sandbox: Sandbox§output_mode: OutputMode§canonical_executable: Option<PathBuf>Trait Implementations§
Source§impl Clone for ExecProfile
impl Clone for ExecProfile
Source§fn clone(&self) -> ExecProfile
fn clone(&self) -> ExecProfile
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 ExecProfile
impl Debug for ExecProfile
Source§impl<'de> Deserialize<'de> for ExecProfile
impl<'de> Deserialize<'de> for ExecProfile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExecProfile
impl RefUnwindSafe for ExecProfile
impl Send for ExecProfile
impl Sync for ExecProfile
impl Unpin for ExecProfile
impl UnsafeUnpin for ExecProfile
impl UnwindSafe for ExecProfile
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