pub struct Status;Expand description
Status indicators with consistent colors
Implementations§
Source§impl Status
impl Status
Sourcepub fn ok() -> ColoredString
pub fn ok() -> ColoredString
Success indicator: [OK] in green
Sourcepub fn info() -> ColoredString
pub fn info() -> ColoredString
Info indicator: [i] in cyan
Sourcepub fn warn() -> ColoredString
pub fn warn() -> ColoredString
Warning indicator: [!] in yellow/orange
Sourcepub fn error() -> ColoredString
pub fn error() -> ColoredString
Error indicator: [X] in red
Sourcepub fn fetch() -> ColoredString
pub fn fetch() -> ColoredString
Progress/fetch indicator: [<] in blue
Sourcepub fn action() -> ColoredString
pub fn action() -> ColoredString
Action indicator: [>] in yellow
Sourcepub fn index() -> ColoredString
pub fn index() -> ColoredString
Index/register indicator: [#] in blue
Sourcepub fn detail() -> ColoredString
pub fn detail() -> ColoredString
Detail indicator: [*] in blue
Sourcepub fn summary() -> ColoredString
pub fn summary() -> ColoredString
Summary indicator: [=] in blue
Sourcepub fn detect() -> ColoredString
pub fn detect() -> ColoredString
Detect indicator: [D] in blue bold
Sourcepub fn add() -> ColoredString
pub fn add() -> ColoredString
Add/found indicator: [+] in green bold
Sourcepub fn package() -> ColoredString
pub fn package() -> ColoredString
Package/restore indicator: [P] in blue
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more