Skip to main content

NativeReconnectPolicy

Type Alias NativeReconnectPolicy 

Source
pub type NativeReconnectPolicy = Arc<dyn Fn(ReconnectContext) -> ReconnectAction + Send + Sync>;
Expand description

Thread-safe callback that decides whether and when to reconnect.

Aliased Typeยง

pub struct NativeReconnectPolicy { /* private fields */ }