Struct clap::error::KindFormatter
source · #[non_exhaustive]pub struct KindFormatter;
Expand description
Report ErrorKind
No context is included.
NOTE: Consider removing the error-context
default feature if using this to remove all
overhead for RichFormatter
.
Trait Implementations§
source§impl ErrorFormatter for KindFormatter
impl ErrorFormatter for KindFormatter
source§fn format_error(error: &Error<KindFormatter>) -> StyledStr
fn format_error(error: &Error<KindFormatter>) -> StyledStr
Stylize the error for the terminal
Auto Trait Implementations§
impl RefUnwindSafe for KindFormatter
impl Send for KindFormatter
impl Sync for KindFormatter
impl Unpin for KindFormatter
impl UnwindSafe for KindFormatter
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