pub trait Error: Debug {
    /// Convert error to a generic error kind
    ///
    /// By using this method, errors freely defined
    ///  by HAL implementations
    /// can be converted to a set of generic errors
    ///  upon which generic
    /// code can act.
    fn kind(&self) -> ErrorKind;
}

