pub enum ValidationKind {
InvalidName,
ReservedName,
UnitSuffix,
NonMonotonic,
ExemplarTooLong,
}Variants§
InvalidName
Metric / label name violates the ABNF.
ReservedName
Name uses a __-reserved prefix.
UnitSuffix
Unit isn’t a suffix of the metric name.
NonMonotonic
Histogram bucket counts decrease across buckets.
ExemplarTooLong
Exemplar LabelSet exceeds 128 UTF-8 chars.
Trait Implementations§
Source§impl Clone for ValidationKind
impl Clone for ValidationKind
impl Copy for ValidationKind
Source§impl Debug for ValidationKind
impl Debug for ValidationKind
impl Eq for ValidationKind
Source§impl PartialEq for ValidationKind
impl PartialEq for ValidationKind
impl StructuralPartialEq for ValidationKind
Auto Trait Implementations§
impl Freeze for ValidationKind
impl RefUnwindSafe for ValidationKind
impl Send for ValidationKind
impl Sync for ValidationKind
impl Unpin for ValidationKind
impl UnsafeUnpin for ValidationKind
impl UnwindSafe for ValidationKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.