pub struct ExecutionLimits {
pub max_call_depth: usize,
pub max_command_count: usize,
pub max_loop_iterations: usize,
pub max_execution_time: Duration,
pub max_output_size: usize,
pub max_string_length: usize,
pub max_glob_results: usize,
pub max_substitution_depth: usize,
pub max_heredoc_size: usize,
pub max_brace_expansion: usize,
pub max_array_elements: usize,
}Expand description
Execution limits.
Fields§
§max_call_depth: usize§max_command_count: usize§max_loop_iterations: usize§max_execution_time: Duration§max_output_size: usize§max_string_length: usize§max_glob_results: usize§max_substitution_depth: usize§max_heredoc_size: usize§max_brace_expansion: usize§max_array_elements: usizeTrait Implementations§
Source§impl Clone for ExecutionLimits
impl Clone for ExecutionLimits
Source§fn clone(&self) -> ExecutionLimits
fn clone(&self) -> ExecutionLimits
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 ExecutionLimits
impl Debug for ExecutionLimits
Auto Trait Implementations§
impl Freeze for ExecutionLimits
impl RefUnwindSafe for ExecutionLimits
impl Send for ExecutionLimits
impl Sync for ExecutionLimits
impl Unpin for ExecutionLimits
impl UnsafeUnpin for ExecutionLimits
impl UnwindSafe for ExecutionLimits
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