usecore::{fmt::{Debug, Display},hash::Hash,};/// The trait of error categories.
pubtraitCategory:
Eq + PartialEq + Ord + PartialOrd + Debug + Display + Copy + Clone + Hash
{/// The number of bits required for the error category.
constBITS:usize;/// The underlying Rust type of the error kind.
////// A concrete builtin type, e.g., `u8`.
typeR;/// Returns the category name.
fnname(&self)->&'staticstr;}