Function error_request_copy

pub fn error_request_copy<T>(err: &(impl Error + ?Sized)) -> Option<T>
where T: Copy + 'static,
Expand description

Request a copiable value from the error, trying both request_value and request_ref.