Enum iroh_blobs::store::ReportLevel
source · pub enum ReportLevel {
Trace,
Info,
Warn,
Error,
}
Expand description
Level for generic validation messages
Variants§
Trace
Very unimportant info messages
Info
Info messages
Warn
Warnings, something is not quite right
Error
Errors, something is very wrong
Trait Implementations§
source§impl Clone for ReportLevel
impl Clone for ReportLevel
source§fn clone(&self) -> ReportLevel
fn clone(&self) -> ReportLevel
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 ReportLevel
impl Debug for ReportLevel
source§impl<'de> Deserialize<'de> for ReportLevel
impl<'de> Deserialize<'de> for ReportLevel
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for ReportLevel
impl Display for ReportLevel
source§impl Ord for ReportLevel
impl Ord for ReportLevel
source§fn cmp(&self, other: &ReportLevel) -> Ordering
fn cmp(&self, other: &ReportLevel) -> 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 ReportLevel
impl PartialEq for ReportLevel
source§fn eq(&self, other: &ReportLevel) -> bool
fn eq(&self, other: &ReportLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ReportLevel
impl PartialOrd for ReportLevel
source§fn partial_cmp(&self, other: &ReportLevel) -> Option<Ordering>
fn partial_cmp(&self, other: &ReportLevel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ReportLevel
impl Serialize for ReportLevel
impl Copy for ReportLevel
impl Eq for ReportLevel
impl StructuralPartialEq for ReportLevel
Auto Trait Implementations§
impl Freeze for ReportLevel
impl RefUnwindSafe for ReportLevel
impl Send for ReportLevel
impl Sync for ReportLevel
impl Unpin for ReportLevel
impl UnwindSafe for ReportLevel
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§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