pub enum SandboxArm {
None,
CopiedTree,
Native,
Container,
Python,
}Expand description
The names a sandbox arm is chosen by, one per mechanism family, so
that every name has an arm to fill on Windows, macOS and Linux
(crates/wire/spec/Answer/Doctor.lean D26).
Variants§
None
The host itself: no axis is held.
CopiedTree
Native
The platform’s own mechanism: namespaces on Linux, Seatbelt on macOS, a job object on Windows.
Container
Python
Python inside a WebAssembly sandbox.
Trait Implementations§
Source§impl Clone for SandboxArm
impl Clone for SandboxArm
impl Copy for SandboxArm
Source§impl Debug for SandboxArm
impl Debug for SandboxArm
Source§impl<'de> Deserialize<'de> for SandboxArm
impl<'de> Deserialize<'de> for SandboxArm
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
impl Eq for SandboxArm
Source§impl PartialEq for SandboxArm
impl PartialEq for SandboxArm
Source§impl Serialize for SandboxArm
impl Serialize for SandboxArm
impl StructuralPartialEq for SandboxArm
Auto Trait Implementations§
impl Freeze for SandboxArm
impl RefUnwindSafe for SandboxArm
impl Send for SandboxArm
impl Sync for SandboxArm
impl Unpin for SandboxArm
impl UnsafeUnpin for SandboxArm
impl UnwindSafe for SandboxArm
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