#[non_exhaustive]pub struct ProcessGroup {
pub name: String,
pub count: u64,
pub cpu_ms: u64,
pub memory_bytes: u64,
pub bound: Option<ResourceBound>,
}Expand description
A live program group, ordered by descending memory in a tree reading.
CPU is funded attributed credit of its currently live identities; the row
additionally retains retired work. Groups never exceed their row’s CPU.
Construct with ProcessGroup::new and its builders, not a struct literal.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§count: u64§cpu_ms: u64§memory_bytes: u64§bound: Option<ResourceBound>A live-only attributed CPU floor; absent means exact. Memory is not a floor.
Implementations§
Source§impl ProcessGroup
impl ProcessGroup
Trait Implementations§
Source§impl Clone for ProcessGroup
impl Clone for ProcessGroup
Source§impl Debug for ProcessGroup
impl Debug for ProcessGroup
Source§impl<'de> Deserialize<'de> for ProcessGroup
impl<'de> Deserialize<'de> for ProcessGroup
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 ProcessGroup
Source§impl PartialEq for ProcessGroup
impl PartialEq for ProcessGroup
Source§impl Serialize for ProcessGroup
impl Serialize for ProcessGroup
impl StructuralPartialEq for ProcessGroup
Auto Trait Implementations§
impl Forget for ProcessGroup
impl Freeze for ProcessGroup
impl RefUnwindSafe for ProcessGroup
impl Send for ProcessGroup
impl Sync for ProcessGroup
impl Unpin for ProcessGroup
impl UnsafeUnpin for ProcessGroup
impl UnwindSafe for ProcessGroup
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