Enum label_logger::OutputLabel
source · [−]pub enum OutputLabel<'a> {
Error,
Warning,
Info(&'a str),
Success(&'a str),
Custom(&'a str, Color),
Prompt(&'a str),
None,
}Expand description
The enum of possible output labels
Variants
Error
Warning
Info(&'a str)
Success(&'a str)
Custom(&'a str, Color)
Prompt(&'a str)
None
Auto Trait Implementations
impl<'a> RefUnwindSafe for OutputLabel<'a>
impl<'a> Send for OutputLabel<'a>
impl<'a> Sync for OutputLabel<'a>
impl<'a> Unpin for OutputLabel<'a>
impl<'a> UnwindSafe for OutputLabel<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more