pub trait ConnectionRestartPolicy: Send + Sync + 'static { // Required method fn restart_interval(&self) -> Option<Duration>; }