#[non_exhaustive]pub enum LogEventKind {
StartCheck,
EndCheck,
Progress,
Violation,
Metric,
Debug,
Info,
Warn,
Error,
}Expand description
Stable vocabulary for records emitted during architecture checks.
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.
StartCheck
A terminal check began.
EndCheck
A terminal check completed with a verdict.
Progress
A check reported detailed execution progress.
Violation
A check produced one architecture violation.
Metric
A metric value was calculated.
Debug
A caller emitted an ordinary debug message.
Info
A caller emitted an ordinary informational message.
Warn
A caller emitted an ordinary warning.
Error
A caller emitted an error.
Implementations§
Trait Implementations§
Source§impl Clone for LogEventKind
impl Clone for LogEventKind
Source§fn clone(&self) -> LogEventKind
fn clone(&self) -> LogEventKind
Returns a copy 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 LogEventKind
impl Debug for LogEventKind
Source§impl Hash for LogEventKind
impl Hash for LogEventKind
Source§impl PartialEq for LogEventKind
impl PartialEq for LogEventKind
impl Copy for LogEventKind
impl Eq for LogEventKind
impl StructuralPartialEq for LogEventKind
Auto Trait Implementations§
impl Freeze for LogEventKind
impl RefUnwindSafe for LogEventKind
impl Send for LogEventKind
impl Sync for LogEventKind
impl Unpin for LogEventKind
impl UnwindSafe for LogEventKind
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> 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.