#[repr(C)]pub enum PamojaTelemetryLevel {
Trace = 0,
Debug = 1,
Info = 2,
Warn = 3,
Error = 4,
}Expand description
How urgent an event is.
A reporter ships an event whose level is at or above its threshold and drops anything below it, so the order of these values is what the filter compares.
Variants§
Trace = 0
Fine-grained detail, useful only when chasing a specific problem.
Debug = 1
Diagnostic detail for development.
Info = 2
A normal, noteworthy event.
Warn = 3
Something unexpected that the node recovered from.
Error = 4
A failure that needs attention.
Trait Implementations§
Source§impl Clone for PamojaTelemetryLevel
impl Clone for PamojaTelemetryLevel
Source§fn clone(&self) -> PamojaTelemetryLevel
fn clone(&self) -> PamojaTelemetryLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PamojaTelemetryLevel
Source§impl Debug for PamojaTelemetryLevel
impl Debug for PamojaTelemetryLevel
impl Eq for PamojaTelemetryLevel
Source§impl Ord for PamojaTelemetryLevel
impl Ord for PamojaTelemetryLevel
Source§fn cmp(&self, other: &PamojaTelemetryLevel) -> Ordering
fn cmp(&self, other: &PamojaTelemetryLevel) -> Ordering
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 PartialEq for PamojaTelemetryLevel
impl PartialEq for PamojaTelemetryLevel
Source§fn eq(&self, other: &PamojaTelemetryLevel) -> bool
fn eq(&self, other: &PamojaTelemetryLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PamojaTelemetryLevel
impl PartialOrd for PamojaTelemetryLevel
impl StructuralPartialEq for PamojaTelemetryLevel
Auto Trait Implementations§
impl Freeze for PamojaTelemetryLevel
impl RefUnwindSafe for PamojaTelemetryLevel
impl Send for PamojaTelemetryLevel
impl Sync for PamojaTelemetryLevel
impl Unpin for PamojaTelemetryLevel
impl UnsafeUnpin for PamojaTelemetryLevel
impl UnwindSafe for PamojaTelemetryLevel
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