pub enum AlertKind {
Info,
Debug,
Warning,
Error,
Success,
}Expand description
The severity/kind of an Alert.
Variants§
Info
Informational message.
Debug
Debug/diagnostic message.
Warning
Warning message.
Error
Error message.
Success
Success message.
Trait Implementations§
impl Copy for AlertKind
impl Eq for AlertKind
impl StructuralPartialEq for AlertKind
Auto Trait Implementations§
impl Freeze for AlertKind
impl RefUnwindSafe for AlertKind
impl Send for AlertKind
impl Sync for AlertKind
impl Unpin for AlertKind
impl UnsafeUnpin for AlertKind
impl UnwindSafe for AlertKind
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