Enum nng::options::ReconnectMinTime[][src]

pub enum ReconnectMinTime {}

The minimum amount of time to wait before attempting to establish a connection after a previous attempt has failed.

If set on a Socket, this value becomes the default for new dialers. Individual dialers can then override the setting.

Support

  • Dialers can use this option.
  • Sockets can use this option to create a new default value.

Trait Implementations

impl Clone for ReconnectMinTime[src]

impl Copy for ReconnectMinTime[src]

impl Debug for ReconnectMinTime[src]

impl Display for ReconnectMinTime[src]

impl Eq for ReconnectMinTime[src]

impl GetOpt<ReconnectMinTime> for Dialer[src]

impl GetOpt<ReconnectMinTime> for DialerBuilder[src]

impl Hash for ReconnectMinTime[src]

impl Opt for ReconnectMinTime[src]

type OptType = Option<Duration>

The type that the option read and writes.

impl Ord for ReconnectMinTime[src]

impl PartialEq<ReconnectMinTime> for ReconnectMinTime[src]

impl PartialOrd<ReconnectMinTime> for ReconnectMinTime[src]

impl SetOpt<ReconnectMinTime> for DialerBuilder[src]

impl SetOpt<ReconnectMinTime> for Socket[src]

impl StructuralEq for ReconnectMinTime[src]

impl StructuralPartialEq for ReconnectMinTime[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.