pub enum FlashLevel {
Debug = 0,
Info = 1,
Success = 2,
Warning = 3,
Error = 4,
}Expand description
Verbosity level of a flash message.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for FlashLevel
impl Clone for FlashLevel
Source§fn clone(&self) -> FlashLevel
fn clone(&self) -> FlashLevel
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 FlashLevel
impl Debug for FlashLevel
Source§impl<'de> Deserialize<'de> for FlashLevel
impl<'de> Deserialize<'de> for FlashLevel
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 FlashLevel
impl Display for FlashLevel
Source§impl Ord for FlashLevel
impl Ord for FlashLevel
Source§fn cmp(&self, other: &FlashLevel) -> Ordering
fn cmp(&self, other: &FlashLevel) -> 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 FlashLevel
impl PartialEq for FlashLevel
Source§impl PartialOrd for FlashLevel
impl PartialOrd for FlashLevel
Source§impl Serialize for FlashLevel
impl Serialize for FlashLevel
impl Copy for FlashLevel
impl Eq for FlashLevel
impl StructuralPartialEq for FlashLevel
Auto Trait Implementations§
impl Freeze for FlashLevel
impl RefUnwindSafe for FlashLevel
impl Send for FlashLevel
impl Sync for FlashLevel
impl Unpin for FlashLevel
impl UnwindSafe for FlashLevel
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.