Function request_value
fn request_value<'a, T, impl Error + ?Sized: Error + ?Sized>(err: &'a impl Error + ?Sized) -> Option<T>
where
T: 'static
Requests a value of type T from the given impl Error.
Examples
Get a string value from an error.
use Error;
use request_value;