Struct nanomsg::PollFd[][src]

pub struct PollFd { /* fields omitted */ }

A request for polling a socket and the poll result. To create the request, see Socket::new_pollfd. To get the result, see PollFd::can_read and PollFd::can_write.

Methods

impl PollFd
[src]

Checks whether at least one message can be received from the socket without blocking.

Checks whether at least one message can be sent to the fd socket without blocking.

Trait Implementations

impl Clone for PollFd
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PollFd
[src]

Auto Trait Implementations

impl Send for PollFd

impl Sync for PollFd