pub trait AsDyn: Sealed { // Required method fn as_dyn(&self) -> &dyn Error; }
Extension trait for Error that casts the error to a trait object.
Error
Casts the error to a trait object.