pub struct LimitInput {Show 16 fields
pub id: String,
pub kind: LimitKind,
pub label: String,
pub runtime: Option<String>,
pub sandbox_id: Option<String>,
pub cgroup: Option<String>,
pub pod: Option<String>,
pub usage: Measured<u64>,
pub read_at_ms: Option<u64>,
pub limit: Measured<u64>,
pub target: LimitTarget,
pub high: Option<u64>,
pub peak: Measured<u64>,
pub events: Option<MemoryEvents>,
pub oom_killed_last_exit: Option<bool>,
pub restarts: Option<u32>,
}Expand description
What a frontend or the engine knows about one limit at one moment (input to evaluate).
Fields§
§id: String§kind: LimitKind§label: String§runtime: Option<String>§sandbox_id: Option<String>§cgroup: Option<String>§pod: Option<String>§usage: Measured<u64>§read_at_ms: Option<u64>When usage was read; None = not a fresh reading (carried over) → not added to the trend.
limit: Measured<u64>§target: LimitTarget§high: Option<u64>§peak: Measured<u64>§events: Option<MemoryEvents>§oom_killed_last_exit: Option<bool>§restarts: Option<u32>Trait Implementations§
Source§impl Clone for LimitInput
impl Clone for LimitInput
Source§impl Debug for LimitInput
impl Debug for LimitInput
Source§impl Default for LimitInput
impl Default for LimitInput
Source§impl PartialEq for LimitInput
impl PartialEq for LimitInput
impl StructuralPartialEq for LimitInput
Auto Trait Implementations§
impl Forget for LimitInput
impl Freeze for LimitInput
impl Move for LimitInput
impl RefUnwindSafe for LimitInput
impl Send for LimitInputwhere
RawVecInner: Send,
impl Sync for LimitInputwhere
RawVecInner: Sync,
impl Unpin for LimitInput
impl UnsafeUnpin for LimitInput
impl UnwindSafe for LimitInputwhere
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