pub trait ReconnectDelegate:
Send
+ Sync
+ 'static {
type Id: Id;
type Address: CheapClone + Send + Sync + 'static;
// Required method
fn reconnect_timeout(
&self,
member: &Member<Self::Id, Self::Address>,
timeout: Duration,
) -> Duration;
}
Expand description
Implemented to allow overriding the reconnect timeout for individual members.
Required Associated Types§
Sourcetype Address: CheapClone + Send + Sync + 'static
type Address: CheapClone + Send + Sync + 'static
The address type of the delegate