pub enum Verbosity {
Quiet,
Default,
Verbose,
}Expand description
Level of output detail requested by the user
Verbosity controls whether events are rendered by the presenter. It is
orthogonal to OutputMode, which controls format and destination.
Three levels are available:
- Quiet: suppress informational messages; show only results and errors.
- Default: show normal messages and results.
- Verbose: show everything including additional detail.
§Examples
use clawless_cli::output::Verbosity;
let verbosity = Verbosity::default();
assert_eq!(verbosity, Verbosity::Default);Variants§
Quiet
Suppress informational messages; show only results and errors
Default
Show normal messages and results
Verbose
Show everything including additional detail
Trait Implementations§
impl Copy for Verbosity
impl Eq for Verbosity
Source§impl Ord for Verbosity
impl Ord for Verbosity
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Verbosity
impl PartialOrd for Verbosity
impl StructuralPartialEq for Verbosity
Auto Trait Implementations§
impl Freeze for Verbosity
impl RefUnwindSafe for Verbosity
impl Send for Verbosity
impl Sync for Verbosity
impl Unpin for Verbosity
impl UnsafeUnpin for Verbosity
impl UnwindSafe for Verbosity
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