Struct nix::poll::PollFd [−][src]
#[repr(C)]pub struct PollFd { /* fields omitted */ }
Methods
impl PollFd[src]
impl PollFdpub fn new(fd: c_int, events: EventFlags) -> PollFd[src]
pub fn new(fd: c_int, events: EventFlags) -> PollFdpub fn revents(&self) -> Option<EventFlags>[src]
pub fn revents(&self) -> Option<EventFlags>Trait Implementations
impl Clone for PollFd[src]
impl Clone for PollFdfn clone(&self) -> PollFd[src]
fn clone(&self) -> PollFdReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for PollFd[src]
impl Copy for PollFd