pub struct SandboxInfo {Show 16 fields
pub id: SandboxId,
pub state: SandboxState,
pub labels: HashMap<String, String>,
pub vcpus: u32,
pub memory_mib: u64,
pub network: Option<SandboxNetworkInfo>,
pub created_at: DateTime<Utc>,
pub ready_at: Option<DateTime<Utc>>,
pub last_exited_at: Option<DateTime<Utc>>,
pub last_exit_status: Option<ExitStatus>,
pub error: Option<String>,
pub paused_at: Option<DateTime<Utc>>,
pub storage_bytes: u64,
pub ttl_deadline: Option<DateTime<Utc>>,
pub idle_timeout_seconds: u32,
pub on_idle: IdleAction,
}Expand description
Detailed sandbox state for Inspect.
Fields§
§id: SandboxId§state: SandboxState§labels: HashMap<String, String>§vcpus: u32§memory_mib: u64§network: Option<SandboxNetworkInfo>§created_at: DateTime<Utc>§ready_at: Option<DateTime<Utc>>§last_exited_at: Option<DateTime<Utc>>§last_exit_status: Option<ExitStatus>§error: Option<String>§paused_at: Option<DateTime<Utc>>When the sandbox reached Paused (None otherwise).
storage_bytes: u64On-disk footprint of retained state, in every lifecycle state: the COW disk overlay while running, plus the pause checkpoint while paused (CORE-146). Copy-mode sandboxes (no overlay) report 0 until paused parks their rootfs copy.
ttl_deadline: Option<DateTime<Utc>>When the hard maximum lifetime fires (None = no limit).
idle_timeout_seconds: u32Idle timeout in seconds (0 = no idle detection).
on_idle: IdleActionAction applied when the idle timeout expires.
Auto Trait Implementations§
impl Freeze for SandboxInfo
impl RefUnwindSafe for SandboxInfo
impl Send for SandboxInfo
impl Sync for SandboxInfo
impl Unpin for SandboxInfo
impl UnsafeUnpin for SandboxInfo
impl UnwindSafe for SandboxInfo
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