pub enum ShadowMismatchLoggingOutcome {
Logged,
HookError,
RenderError,
LoggerError,
}Expand description
Outcomes of one confirmed-mismatch warning attempt. When more than one
failure occurs, hook_error ranks above render_error, which ranks
above logger_error.
Variants§
Logged
Every requested field was built and the logger returned.
HookError
The operation’s mismatch_diff hook or the built-in walk panicked
or failed; mismatch_paths, mismatch_path_count and diff_json
are unavailable.
RenderError
A compared value had no JSON rendering, the operation has no renderer for a requested field, or the bounded CPU executor rejected the warning’s work; the fields it feeds are unavailable.
LoggerError
The logger panicked while receiving the warning.
Implementations§
Trait Implementations§
Source§impl Clone for ShadowMismatchLoggingOutcome
impl Clone for ShadowMismatchLoggingOutcome
Source§fn clone(&self) -> ShadowMismatchLoggingOutcome
fn clone(&self) -> ShadowMismatchLoggingOutcome
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 ShadowMismatchLoggingOutcome
Source§impl Debug for ShadowMismatchLoggingOutcome
impl Debug for ShadowMismatchLoggingOutcome
impl Eq for ShadowMismatchLoggingOutcome
Source§impl Hash for ShadowMismatchLoggingOutcome
impl Hash for ShadowMismatchLoggingOutcome
Source§impl PartialEq for ShadowMismatchLoggingOutcome
impl PartialEq for ShadowMismatchLoggingOutcome
Source§fn eq(&self, other: &ShadowMismatchLoggingOutcome) -> bool
fn eq(&self, other: &ShadowMismatchLoggingOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShadowMismatchLoggingOutcome
Auto Trait Implementations§
impl Freeze for ShadowMismatchLoggingOutcome
impl RefUnwindSafe for ShadowMismatchLoggingOutcome
impl Send for ShadowMismatchLoggingOutcome
impl Sync for ShadowMismatchLoggingOutcome
impl Unpin for ShadowMismatchLoggingOutcome
impl UnsafeUnpin for ShadowMismatchLoggingOutcome
impl UnwindSafe for ShadowMismatchLoggingOutcome
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
Compare self to
key and return true if they are equal.