peace_value_traits 0.0.15

Trait bounds for value types for the Peace framework.
Documentation
1
2
3
4
5
6
use std::fmt::Debug;

/// Bounds that the application error type must satisfy.
pub trait AppError: Debug + std::error::Error + Send + Sync + Unpin + 'static {}

impl<T> AppError for T where T: Debug + std::error::Error + Send + Sync + Unpin + 'static {}