pub struct Sandbox {
pub id: String,
pub kind: SandboxKind,
pub runtime: String,
pub label: String,
pub host_pids: Vec<ProcId>,
pub configured_mem: Measured<Bytes>,
pub guest_mem: Measured<Bytes>,
pub limits: SandboxLimits,
pub started_by_group: Option<String>,
pub footprint_lower_bound: bool,
}Fields§
§id: String§kind: SandboxKind§runtime: Stringe.g. “docker”, “podman”, “virtualization.framework”, “firecracker”, “bwrap”.
label: String§host_pids: Vec<ProcId>§configured_mem: Measured<Bytes>§guest_mem: Measured<Bytes>§limits: SandboxLimits§started_by_group: Option<String>§footprint_lower_bound: boolHost footprint under-counts this sandbox (SPEC §5).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sandbox
impl<'de> Deserialize<'de> for Sandbox
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 StructuralPartialEq for Sandbox
Auto Trait Implementations§
impl Forget for Sandbox
impl Freeze for Sandbox
impl Move for Sandbox
impl RefUnwindSafe for Sandbox
impl Send for Sandboxwhere
RawVecInner: Send,
impl Sync for Sandboxwhere
RawVecInner: Sync,
impl Unpin for Sandbox
impl UnsafeUnpin for Sandboxwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ProcId>: UnsafeUnpin,
impl UnwindSafe for Sandboxwhere
RawVecInner: UnwindSafe,
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