Struct KindFormatter
struct KindFormatter
Report ErrorKind
No context is included.
NOTE: Consider removing the error-context default feature if using this to remove all
overhead for RichFormatter.
Implementations
impl ErrorFormatter for KindFormatter
fn format_error(error: &Error<Self>) -> StyledStr
impl Freeze for KindFormatter
impl RefUnwindSafe for KindFormatter
impl Send for KindFormatter
impl Sync for KindFormatter
impl Unpin for KindFormatter
impl UnsafeUnpin for KindFormatter
impl UnwindSafe for KindFormatter
impl<T> Any for KindFormatter
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for KindFormatter
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for KindFormatter
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for KindFormatter
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for KindFormatter
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for KindFormatter
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for KindFormatter
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>