[][src]Enum nng::options::SendTimeout

pub enum SendTimeout {}

The socket send timeout.

When a message cannot be queued for delivery by the socket for this period of time (such as if send buffers are full), the operation will fail with ErrorKind::TimedOut.

Support

  • Sockets can utilize this value.
  • Dialers and Listeners can retrieve it from their owning Socket.

Trait Implementations

impl Opt for SendTimeout[src]

type OptType = Option<Duration>

The type that the option read and writes.

impl GetOpt<SendTimeout> for Dialer[src]

impl GetOpt<SendTimeout> for DialerOptions[src]

impl GetOpt<SendTimeout> for Listener[src]

impl GetOpt<SendTimeout> for ListenerOptions[src]

impl GetOpt<SendTimeout> for Socket[src]

impl SetOpt<SendTimeout> for Socket[src]

impl Clone for SendTimeout[src]

impl Copy for SendTimeout[src]

impl Eq for SendTimeout[src]

impl Ord for SendTimeout[src]

impl PartialEq<SendTimeout> for SendTimeout[src]

impl PartialOrd<SendTimeout> for SendTimeout[src]

impl Debug for SendTimeout[src]

impl Display for SendTimeout[src]

impl Hash for SendTimeout[src]

impl StructuralPartialEq for SendTimeout[src]

impl StructuralEq for SendTimeout[src]

Auto Trait Implementations

Blanket Implementations

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 = !

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.

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

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

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