pub fn to_retry_error<T, E: Debug + Send + Sync>(
err: SendRequestError<E>,
is_critical_t: impl Fn(&SendRequestError<E>) -> bool,
) -> RetryResponse<T, SendRequestError<E>>pub fn to_retry_error<T, E: Debug + Send + Sync>(
err: SendRequestError<E>,
is_critical_t: impl Fn(&SendRequestError<E>) -> bool,
) -> RetryResponse<T, SendRequestError<E>>