pub struct MemoryPsiElevatedRule { /* private fields */ }Expand description
Linux memory PSI elevated (§11.2).
Reports stalled time waiting on memory reclaim. It deliberately stops there: §11.3 forbids concluding anything about an impending kill or an allocation pattern from a stall share.
Implementations§
Source§impl MemoryPsiElevatedRule
impl MemoryPsiElevatedRule
Sourcepub const fn new(thresholds: Thresholds) -> Self
pub const fn new(thresholds: Thresholds) -> Self
Builds the rule from sanitized thresholds.
Trait Implementations§
Source§impl Clone for MemoryPsiElevatedRule
impl Clone for MemoryPsiElevatedRule
Source§fn clone(&self) -> MemoryPsiElevatedRule
fn clone(&self) -> MemoryPsiElevatedRule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MemoryPsiElevatedRule
Source§impl Debug for MemoryPsiElevatedRule
impl Debug for MemoryPsiElevatedRule
Auto Trait Implementations§
impl Freeze for MemoryPsiElevatedRule
impl RefUnwindSafe for MemoryPsiElevatedRule
impl Send for MemoryPsiElevatedRule
impl Sync for MemoryPsiElevatedRule
impl Unpin for MemoryPsiElevatedRule
impl UnsafeUnpin for MemoryPsiElevatedRule
impl UnwindSafe for MemoryPsiElevatedRule
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