#[repr(i32)]pub enum Tier {
TIER_UNSPECIFIED = 0,
TIER_LOG = 1,
TIER_METRIC = 2,
TIER_TRACE = 3,
TIER_AUDIT = 4,
}Variants§
Implementations§
Source§impl Tier
impl Tier
Sourcepub const Unspecified: Tier = Self::TIER_UNSPECIFIED
pub const Unspecified: Tier = Self::TIER_UNSPECIFIED
Short-name alias for Self::TIER_UNSPECIFIED.
Sourcepub const Log: Tier = Self::TIER_LOG
pub const Log: Tier = Self::TIER_LOG
Short-name alias for Self::TIER_LOG.
Sourcepub const Metric: Tier = Self::TIER_METRIC
pub const Metric: Tier = Self::TIER_METRIC
Short-name alias for Self::TIER_METRIC.
Sourcepub const Trace: Tier = Self::TIER_TRACE
pub const Trace: Tier = Self::TIER_TRACE
Short-name alias for Self::TIER_TRACE.
Sourcepub const Audit: Tier = Self::TIER_AUDIT
pub const Audit: Tier = Self::TIER_AUDIT
Short-name alias for Self::TIER_AUDIT.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tier
impl<'de> Deserialize<'de> for Tier
Source§fn deserialize<D>(d: D) -> Result<Tier, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<Tier, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enumeration for Tier
impl Enumeration for Tier
Source§impl Ord for Tier
impl Ord for Tier
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Tier
impl PartialOrd for Tier
Source§impl Serialize for Tier
impl Serialize for Tier
Source§fn serialize<S>(
&self,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for Tier
impl Eq for Tier
impl StructuralPartialEq for Tier
Auto Trait Implementations§
impl Freeze for Tier
impl RefUnwindSafe for Tier
impl Send for Tier
impl Sync for Tier
impl Unpin for Tier
impl UnsafeUnpin for Tier
impl UnwindSafe for Tier
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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§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.