pub enum StatusKind {
Success,
Error,
Warning,
Info,
Debug,
Pending,
InProgress,
}Expand description
Status message kinds.
Variants§
Success
Success message.
Error
Error message.
Warning
Warning message.
Info
Informational message.
Debug
Debug message.
Pending
Pending status.
InProgress
In-progress status.
Implementations§
Source§impl StatusKind
impl StatusKind
Sourcepub const fn plain_prefix(&self) -> &'static str
pub const fn plain_prefix(&self) -> &'static str
Get the plain prefix used for this status kind.
Sourcepub const fn level(&self) -> OutputLevel
pub const fn level(&self) -> OutputLevel
Map to the output level for capture.
Sourcepub const fn use_stderr(&self) -> bool
pub const fn use_stderr(&self) -> bool
Whether this status should be printed to stderr.
Trait Implementations§
Source§impl Clone for StatusKind
impl Clone for StatusKind
Source§fn clone(&self) -> StatusKind
fn clone(&self) -> StatusKind
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 StatusKind
impl Debug for StatusKind
Source§impl PartialEq for StatusKind
impl PartialEq for StatusKind
impl Copy for StatusKind
impl Eq for StatusKind
impl StructuralPartialEq for StatusKind
Auto Trait Implementations§
impl Freeze for StatusKind
impl RefUnwindSafe for StatusKind
impl Send for StatusKind
impl Sync for StatusKind
impl Unpin for StatusKind
impl UnwindSafe for StatusKind
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