pub type GenericError = Error;Expand description
A wrapper around a dynamic error type.
GenericError works a lot like Box<dyn std::error::Error>, but with these differences:
GenericErrorrequires that the error isSend,Sync, and'static.GenericErrorguarantees that a backtrace is available, even if the underlying error type does not provide one.GenericErroris represented as a narrow pointer — exactly one word in size instead of two.
Aliased Type§
pub struct GenericError { /* private fields */ }