error-kind 0.0.1

Separate `Error` from `ErrorKind` with convenient derive macros!
Documentation
// =============================================================================
// USES
// =============================================================================

// -----------------------------------------------------------------------------
use core::fmt::{Debug, Display};

// =============================================================================
// TRAITS
// =============================================================================

/// A marker trait denoting a piece of context information.
///
/// These types are supposed to be passed into the [`ErrorContext`] functions.
///
/// [`ErrorContext`]: crate::ErrorContext
pub trait Context: Debug + Display + Send + Sync + 'static {}

// =============================================================================
// TRAIT IMPLS
// =============================================================================

// -----------------------------------------------------------------------------
impl<T: Debug + Display + Send + Sync + 'static> Context for T {}