pub trait Error:
Debug
+ Display
+ Send {
// Provided method
fn source(&self) -> Option<&(dyn Error + 'static)> { ... }
}Expand description
The generic Error trait. All actual errors implementing this trait also need to implement Debug
and Display to provide human readable text of the error.