[][src]Enum nng::options::RecvTimeout

pub enum RecvTimeout {}

The socket receive timeout.

When no message is available for receiving at the socket for this period of time, receive operations 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 RecvTimeout[src]

type OptType = Option<Duration>

The type that the option read and writes.

impl GetOpt<RecvTimeout> for Dialer[src]

impl GetOpt<RecvTimeout> for DialerOptions[src]

impl GetOpt<RecvTimeout> for Listener[src]

impl GetOpt<RecvTimeout> for ListenerOptions[src]

impl GetOpt<RecvTimeout> for Socket[src]

impl SetOpt<RecvTimeout> for Socket[src]

impl Clone for RecvTimeout[src]

impl Copy for RecvTimeout[src]

impl Eq for RecvTimeout[src]

impl Ord for RecvTimeout[src]

impl PartialEq<RecvTimeout> for RecvTimeout[src]

impl PartialOrd<RecvTimeout> for RecvTimeout[src]

impl Debug for RecvTimeout[src]

impl Display for RecvTimeout[src]

impl Hash for RecvTimeout[src]

impl StructuralPartialEq for RecvTimeout[src]

impl StructuralEq for RecvTimeout[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]