#[non_exhaustive]pub enum RecordingLevel {
Info,
Debug,
Trace,
}Expand description
The recording level of a sensor or metric config.
Mirrors Sensor.RecordingLevel. The numeric ids are part of the protocol and
must not change: INFO=0, DEBUG=1, TRACE=2.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Source§impl RecordingLevel
impl RecordingLevel
Trait Implementations§
Source§impl Clone for RecordingLevel
impl Clone for RecordingLevel
Source§fn clone(&self) -> RecordingLevel
fn clone(&self) -> RecordingLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecordingLevel
impl Debug for RecordingLevel
Source§impl Display for RecordingLevel
Java’s inherited Enum.toString(): the constant’s name.
impl Display for RecordingLevel
Java’s inherited Enum.toString(): the constant’s name.
Source§impl Hash for RecordingLevel
impl Hash for RecordingLevel
Source§impl Ord for RecordingLevel
impl Ord for RecordingLevel
Source§fn cmp(&self, other: &RecordingLevel) -> Ordering
fn cmp(&self, other: &RecordingLevel) -> Ordering
1.21.0 · 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 PartialEq for RecordingLevel
impl PartialEq for RecordingLevel
Source§impl PartialOrd for RecordingLevel
impl PartialOrd for RecordingLevel
impl Copy for RecordingLevel
impl Eq for RecordingLevel
impl StructuralPartialEq for RecordingLevel
Auto Trait Implementations§
impl Freeze for RecordingLevel
impl RefUnwindSafe for RecordingLevel
impl Send for RecordingLevel
impl Sync for RecordingLevel
impl Unpin for RecordingLevel
impl UnsafeUnpin for RecordingLevel
impl UnwindSafe for RecordingLevel
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more