pub enum SandboxControl {
Show 14 variants
Network,
Mounts,
Root,
Environment,
Identity,
Cpu,
Memory,
WallTime,
ProcessCount,
FileCount,
FileBytes,
Output,
Stdin,
ProcessTree,
}Expand description
One independently provable sandbox control.
Variants§
Network
Network namespace and interfaces.
Mounts
Visible filesystem mounts.
Root
Filesystem root and working root.
Environment
Child process environment.
Identity
Host user and session identity.
Cpu
CPU time.
Memory
Address-space memory.
WallTime
Monotonic wall time.
ProcessCount
Descendant process count.
FileCount
Created file count.
FileBytes
Created file bytes.
Output
Captured output bytes.
Stdin
Standard-input bytes.
ProcessTree
Descendant cleanup.
Trait Implementations§
Source§impl Clone for SandboxControl
impl Clone for SandboxControl
Source§fn clone(&self) -> SandboxControl
fn clone(&self) -> SandboxControl
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 moreimpl Copy for SandboxControl
Source§impl Debug for SandboxControl
impl Debug for SandboxControl
impl Eq for SandboxControl
Source§impl Ord for SandboxControl
impl Ord for SandboxControl
Source§fn cmp(&self, other: &SandboxControl) -> Ordering
fn cmp(&self, other: &SandboxControl) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SandboxControl
impl PartialEq for SandboxControl
Source§impl PartialOrd for SandboxControl
impl PartialOrd for SandboxControl
impl StructuralPartialEq for SandboxControl
Auto Trait Implementations§
impl Freeze for SandboxControl
impl RefUnwindSafe for SandboxControl
impl Send for SandboxControl
impl Sync for SandboxControl
impl Unpin for SandboxControl
impl UnsafeUnpin for SandboxControl
impl UnwindSafe for SandboxControl
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