#[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 Freeze for KindFormatter
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