pub enum EventLevel {
Debug,
Info,
Warning,
Error,
Critical,
}Expand description
Severity level for a logged event.
Variants§
Debug
Diagnostic trace messages.
Info
General informational messages.
Warning
Non-fatal warnings.
Error
Recoverable errors.
Critical
Fatal errors that stop the simulation.
Implementations§
Trait Implementations§
Source§impl Clone for EventLevel
impl Clone for EventLevel
Source§fn clone(&self) -> EventLevel
fn clone(&self) -> EventLevel
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 moreSource§impl Debug for EventLevel
impl Debug for EventLevel
Source§impl Ord for EventLevel
impl Ord for EventLevel
Source§fn cmp(&self, other: &EventLevel) -> Ordering
fn cmp(&self, other: &EventLevel) -> 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 EventLevel
impl PartialEq for EventLevel
Source§fn eq(&self, other: &EventLevel) -> bool
fn eq(&self, other: &EventLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for EventLevel
impl PartialOrd for EventLevel
impl Copy for EventLevel
impl Eq for EventLevel
impl StructuralPartialEq for EventLevel
Auto Trait Implementations§
impl Freeze for EventLevel
impl RefUnwindSafe for EventLevel
impl Send for EventLevel
impl Sync for EventLevel
impl Unpin for EventLevel
impl UnsafeUnpin for EventLevel
impl UnwindSafe for EventLevel
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.