pub enum InlineThresholdProblemKind {
MissingReason,
MissingThreshold,
InvalidKey,
InvalidValue,
Disabled,
}Expand description
What is wrong with one inline threshold override comment. A comment with a problem has no effect.
Variants§
MissingReason
The comment has no reason after --.
MissingThreshold
The comment sets no threshold.
InvalidKey
A token is not a known key, or a key occurs two times.
InvalidValue
A value is not a valid number for its key.
Disabled
health.inlineThresholdOverrides is false, so the comment form is off.
Implementations§
Trait Implementations§
Source§impl Clone for InlineThresholdProblemKind
impl Clone for InlineThresholdProblemKind
impl Copy for InlineThresholdProblemKind
Source§impl Debug for InlineThresholdProblemKind
impl Debug for InlineThresholdProblemKind
Source§impl<'de> Deserialize<'de> for InlineThresholdProblemKind
impl<'de> Deserialize<'de> for InlineThresholdProblemKind
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 InlineThresholdProblemKind
impl StructuralPartialEq for InlineThresholdProblemKind
Auto Trait Implementations§
impl Forget for InlineThresholdProblemKind
impl Freeze for InlineThresholdProblemKind
impl Move for InlineThresholdProblemKind
impl RefUnwindSafe for InlineThresholdProblemKind
impl Send for InlineThresholdProblemKind
impl Sync for InlineThresholdProblemKind
impl Unpin for InlineThresholdProblemKind
impl UnsafeUnpin for InlineThresholdProblemKind
impl UnwindSafe for InlineThresholdProblemKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.