pub enum ForecastTarget {
SwapExhaustion,
AvailableExhaustion,
KillerThreshold,
}Variants§
SwapExhaustion
Swap used reaches swap total.
AvailableExhaustion
Available memory reaches zero (after which the killer acts).
KillerThreshold
A killer threshold (see Oom::thresholds) is crossed.
Trait Implementations§
Source§impl Clone for ForecastTarget
impl Clone for ForecastTarget
impl Copy for ForecastTarget
Source§impl Debug for ForecastTarget
impl Debug for ForecastTarget
Source§impl Default for ForecastTarget
impl Default for ForecastTarget
Source§impl<'de> Deserialize<'de> for ForecastTarget
impl<'de> Deserialize<'de> for ForecastTarget
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 ForecastTarget
Source§impl Hash for ForecastTarget
impl Hash for ForecastTarget
Source§impl PartialEq for ForecastTarget
impl PartialEq for ForecastTarget
Source§impl Serialize for ForecastTarget
impl Serialize for ForecastTarget
impl StructuralPartialEq for ForecastTarget
Auto Trait Implementations§
impl Forget for ForecastTarget
impl Freeze for ForecastTarget
impl Move for ForecastTarget
impl RefUnwindSafe for ForecastTarget
impl Send for ForecastTarget
impl Sync for ForecastTarget
impl Unpin for ForecastTarget
impl UnsafeUnpin for ForecastTarget
impl UnwindSafe for ForecastTarget
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