#[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<Self>) -> StyledStr
fn format_error(error: &Error<Self>) -> 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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes