pub enum MessageCategory {
Error,
Warning,
Info,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for MessageCategory
impl Clone for MessageCategory
source§fn clone(&self) -> MessageCategory
fn clone(&self) -> MessageCategory
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 MessageCategory
impl Debug for MessageCategory
source§impl FromStr for MessageCategory
impl FromStr for MessageCategory
source§impl Ord for MessageCategory
impl Ord for MessageCategory
source§impl PartialEq<MessageCategory> for MessageCategory
impl PartialEq<MessageCategory> for MessageCategory
source§fn eq(&self, other: &MessageCategory) -> bool
fn eq(&self, other: &MessageCategory) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<MessageCategory> for MessageCategory
impl PartialOrd<MessageCategory> for MessageCategory
Message categories are linearly ordered.
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 more