pub struct ComputerInfo {Show 16 fields
pub id: ComputerId,
pub state: ComputerState,
pub labels: HashMap<String, String>,
pub vcpus: u32,
pub memory_mib: u64,
pub network: Option<ComputerNetworkInfo>,
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: ComputerId§state: ComputerState§labels: HashMap<String, String>§vcpus: u32§memory_mib: u64§network: Option<ComputerNetworkInfo>§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 ComputerInfo
impl RefUnwindSafe for ComputerInfo
impl Send for ComputerInfo
impl Sync for ComputerInfo
impl Unpin for ComputerInfo
impl UnsafeUnpin for ComputerInfo
impl UnwindSafe for ComputerInfo
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