Enum nng::options::ReconnectMaxTime [−][src]
pub enum ReconnectMaxTime {}
Expand description
The maximum amount of time to wait before attempting to establish a connection after a previous attempt has failed.
If this is non-zero, then the time between successive connection
attempts will start at the value of ReconnectMinTime
, and grow
exponentially, until it reaches this value. If this value is zero, then
no exponential back-off between connection attempts is done, and each
attempt will wait the time specified by ReconnectMinTime
. This can be
set on a socket, but it can also be overridden on an individual dialer.
Support
- Dialers can use this option.
- Sockets can use this option to create a new default value.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ReconnectMaxTime
impl Send for ReconnectMaxTime
impl Sync for ReconnectMaxTime
impl Unpin for ReconnectMaxTime
impl UnwindSafe for ReconnectMaxTime
Blanket Implementations
Mutably borrows from an owned value. Read more