Function error_request_copy

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

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