Struct nanomsg::PollRequest [−][src]
pub struct PollRequest<'a> { /* fields omitted */ }
A request for polling a set of sockets and the poll results.
To create the request, see PollRequest::new
.
Methods
impl<'a> PollRequest<'a>
[src]
impl<'a> PollRequest<'a>
pub fn new(fds: &'a mut [PollFd]) -> PollRequest<'a>
[src]
pub fn new(fds: &'a mut [PollFd]) -> PollRequest<'a>
Creates a request from the specified individualsocket requests.
pub fn get_fds(&'a self) -> &'a [PollFd]
[src]
pub fn get_fds(&'a self) -> &'a [PollFd]
Returns a reference to the socket requests, so they can be checked.
Auto Trait Implementations
impl<'a> Send for PollRequest<'a>
impl<'a> Send for PollRequest<'a>
impl<'a> Sync for PollRequest<'a>
impl<'a> Sync for PollRequest<'a>