pub struct Victim {
pub id: ProcId,
pub name: String,
pub group_id: Option<String>,
pub reason: String,
pub heuristic: bool,
}Expand description
Who the OOM killer would likely pick.
Fields§
§id: ProcId§name: String§group_id: Option<String>§reason: Stringe.g. “highest oom_score (812)” or “largest background app (heuristic)”.
heuristic: booltrue on macOS (jetsam bands unreadable without root).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Victim
impl<'de> Deserialize<'de> for Victim
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 Victim
Auto Trait Implementations§
impl Forget for Victim
impl Freeze for Victim
impl Move for Victim
impl RefUnwindSafe for Victim
impl Send for Victimwhere
RawVecInner: Send,
impl Sync for Victimwhere
RawVecInner: Sync,
impl Unpin for Victim
impl UnsafeUnpin for Victim
impl UnwindSafe for Victimwhere
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