Function request_value
pub fn request_value<'a, T>(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;