pub fn set_retry_info(&mut self, retry_delay: Option<time::Duration>) -> &mut Self {
        self.retry_info = Some(RetryInfo::new(retry_delay));
        self
    }
Set [`RetryInfo`] details. Can be chained with other `.set_` and
`.add_` [`ErrorDetails`] methods.

# Examples

```
use std::time::Duration;
use tonic_types::ErrorDetails;

let mut err_details = ErrorDetails::new();

err_details.set_retry_info(Some(Duration::from_secs(5)));
```
tonic-types/src/richer_error/error_details/mod.rs