pub enum ErrorLevel {
Error,
Warning,
}Expand description
The type of error.
Variants§
Trait Implementations§
Source§impl Clone for ErrorLevel
impl Clone for ErrorLevel
Source§fn clone(&self) -> ErrorLevel
fn clone(&self) -> ErrorLevel
Returns a duplicate 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 ErrorLevel
impl Debug for ErrorLevel
Source§impl Default for ErrorLevel
impl Default for ErrorLevel
Source§fn default() -> ErrorLevel
fn default() -> ErrorLevel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ErrorLevel
impl<'de> Deserialize<'de> for ErrorLevel
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 Hash for ErrorLevel
impl Hash for ErrorLevel
Source§impl Ord for ErrorLevel
impl Ord for ErrorLevel
Source§fn cmp(&self, other: &ErrorLevel) -> Ordering
fn cmp(&self, other: &ErrorLevel) -> 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 ErrorLevel
impl PartialEq for ErrorLevel
Source§impl PartialOrd for ErrorLevel
impl PartialOrd for ErrorLevel
Source§impl Serialize for ErrorLevel
impl Serialize for ErrorLevel
impl Copy for ErrorLevel
impl Eq for ErrorLevel
impl StructuralPartialEq for ErrorLevel
Auto Trait Implementations§
impl Freeze for ErrorLevel
impl RefUnwindSafe for ErrorLevel
impl Send for ErrorLevel
impl Sync for ErrorLevel
impl Unpin for ErrorLevel
impl UnwindSafe for ErrorLevel
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