Struct KindFormatter

#[non_exhaustive]
pub 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.

Trait Implementations

impl ErrorFormatter for KindFormatter

fn format_error(error: &Error<Self>) -> StyledStr

Auto Trait Implementations

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

Blanket Implementations

impl<T> Any for KindFormatter where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for KindFormatter where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for KindFormatter where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for KindFormatter

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for KindFormatter where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for KindFormatter where U: Into<T>,

type Error = Infallible;
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto<U> for KindFormatter where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>