pub struct GlobalBashLimits {
pub allow_network: bool,
pub max_time_ms: Option<u64>,
pub max_output_bytes: Option<u64>,
}Expand description
Global sandbox limits passed from the main crate’s SandboxConfig.
Fields§
§allow_network: bool§max_time_ms: Option<u64>§max_output_bytes: Option<u64>Trait Implementations§
Source§impl Clone for GlobalBashLimits
impl Clone for GlobalBashLimits
Source§fn clone(&self) -> GlobalBashLimits
fn clone(&self) -> GlobalBashLimits
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 GlobalBashLimits
impl Debug for GlobalBashLimits
Source§impl Default for GlobalBashLimits
impl Default for GlobalBashLimits
Source§fn default() -> GlobalBashLimits
fn default() -> GlobalBashLimits
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GlobalBashLimits
impl RefUnwindSafe for GlobalBashLimits
impl Send for GlobalBashLimits
impl Sync for GlobalBashLimits
impl Unpin for GlobalBashLimits
impl UnsafeUnpin for GlobalBashLimits
impl UnwindSafe for GlobalBashLimits
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