pub enum LimitTarget {
Max,
High,
}Expand description
Which limit the forecast runs against.
Variants§
Max
memory.max / the engine’s hard limit: the kernel OOM-kills inside the cgroup.
High
memory.high only: throttled and reclaimed hard, never killed by it.
Trait Implementations§
Source§impl Clone for LimitTarget
impl Clone for LimitTarget
impl Copy for LimitTarget
Source§impl Debug for LimitTarget
impl Debug for LimitTarget
Source§impl Default for LimitTarget
impl Default for LimitTarget
Source§impl<'de> Deserialize<'de> for LimitTarget
impl<'de> Deserialize<'de> for LimitTarget
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 LimitTarget
Source§impl Hash for LimitTarget
impl Hash for LimitTarget
Source§impl PartialEq for LimitTarget
impl PartialEq for LimitTarget
Source§impl Serialize for LimitTarget
impl Serialize for LimitTarget
impl StructuralPartialEq for LimitTarget
Auto Trait Implementations§
impl Forget for LimitTarget
impl Freeze for LimitTarget
impl Move for LimitTarget
impl RefUnwindSafe for LimitTarget
impl Send for LimitTarget
impl Sync for LimitTarget
impl Unpin for LimitTarget
impl UnsafeUnpin for LimitTarget
impl UnwindSafe for LimitTarget
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