pub enum KernelPressureAction {
None,
SnipCompact,
MicroCompact,
ContextCollapse,
AutoCompact,
}Variants§
Trait Implementations§
Source§impl Clone for KernelPressureAction
impl Clone for KernelPressureAction
Source§fn clone(&self) -> KernelPressureAction
fn clone(&self) -> KernelPressureAction
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 KernelPressureAction
Source§impl Debug for KernelPressureAction
impl Debug for KernelPressureAction
Source§impl<'de> Deserialize<'de> for KernelPressureAction
impl<'de> Deserialize<'de> for KernelPressureAction
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 KernelPressureAction
Source§impl From<PressureAction> for KernelPressureAction
impl From<PressureAction> for KernelPressureAction
Source§fn from(action: PressureAction) -> Self
fn from(action: PressureAction) -> Self
Converts to this type from the input type.
Source§impl PartialEq for KernelPressureAction
impl PartialEq for KernelPressureAction
Source§fn eq(&self, other: &KernelPressureAction) -> bool
fn eq(&self, other: &KernelPressureAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KernelPressureAction
impl Serialize for KernelPressureAction
impl StructuralPartialEq for KernelPressureAction
Auto Trait Implementations§
impl Freeze for KernelPressureAction
impl RefUnwindSafe for KernelPressureAction
impl Send for KernelPressureAction
impl Sync for KernelPressureAction
impl Unpin for KernelPressureAction
impl UnsafeUnpin for KernelPressureAction
impl UnwindSafe for KernelPressureAction
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