Enum rust_keylock::MessageSeverity
source · pub enum MessageSeverity {
Info,
Warn,
Error,
}
Expand description
Severity for the messages presented to the Users
Variants§
Trait Implementations§
source§impl Clone for MessageSeverity
impl Clone for MessageSeverity
source§fn clone(&self) -> MessageSeverity
fn clone(&self) -> MessageSeverity
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 MessageSeverity
impl Debug for MessageSeverity
source§impl Default for MessageSeverity
impl Default for MessageSeverity
source§impl PartialEq for MessageSeverity
impl PartialEq for MessageSeverity
source§fn eq(&self, other: &MessageSeverity) -> bool
fn eq(&self, other: &MessageSeverity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToString for MessageSeverity
impl ToString for MessageSeverity
impl StructuralPartialEq for MessageSeverity
Auto Trait Implementations§
impl RefUnwindSafe for MessageSeverity
impl Send for MessageSeverity
impl Sync for MessageSeverity
impl Unpin for MessageSeverity
impl UnwindSafe for MessageSeverity
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