1/// Alias for a type-erased error type. 2pub type BoxError = Box<dyn std::error::Error + Send + Sync + 'static>; 3 4/// `Result` type with a pre-defined [BoxError] error variant. 5pub type Result<T, E = BoxError> = std::result::Result<T, E>;