1use std::fmt::Debug; 2 3/// Bounds that the application error type must satisfy. 4pub trait AppError: Debug + std::error::Error + Send + Sync + Unpin + 'static {} 5 6impl<T> AppError for T where T: Debug + std::error::Error + Send + Sync + Unpin + 'static {}