[][src]Enum nng::options::RecvFd

pub enum RecvFd {}

A raw file descriptor that can be used to poll for receiving on a socket.

This descriptor will be readable when a message is available for receiving on the socket. When no message is ready for receiving, it will not be readable.

While this may be useful for integrating into existing polling loops, the use of asynchronous I/O objects will be more efficient.

Applications should never attempt to read or write to the file descriptor.

Support

  • All sockets.

Trait Implementations

impl Opt for RecvFd[src]

type OptType = RawFd

The type that the option read and writes.

impl GetOpt<RecvFd> for Socket[src]

impl Clone for RecvFd[src]

impl Copy for RecvFd[src]

impl Eq for RecvFd[src]

impl Ord for RecvFd[src]

impl PartialEq<RecvFd> for RecvFd[src]

impl PartialOrd<RecvFd> for RecvFd[src]

impl Debug for RecvFd[src]

impl Display for RecvFd[src]

impl Hash for RecvFd[src]

impl StructuralPartialEq for RecvFd[src]

impl StructuralEq for RecvFd[src]

Auto Trait Implementations

impl Send for RecvFd

impl Sync for RecvFd

impl Unpin for RecvFd

impl UnwindSafe for RecvFd

impl RefUnwindSafe for RecvFd

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]