Enum nng::options::SendFd [−][src]
pub enum SendFd {}
Expand description
A raw file descriptor that can be used to poll for sending on a socket.
This descriptor will be readable when a message is available for sending a message without blocking. When the socket can no longer accept messages without blocking, the descriptor 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
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 SendFd
impl UnwindSafe for SendFd
Blanket Implementations
Mutably borrows from an owned value. Read more