Struct nix::poll::PollFd
[−]
[src]
#[repr(C)]pub struct PollFd { /* fields omitted */ }
Methods
impl PollFd
[src]
impl PollFd
pub fn new(fd: c_int, events: EventFlags, revents: EventFlags) -> PollFd
[src]
pub fn new(fd: c_int, events: EventFlags, revents: EventFlags) -> PollFd
pub fn revents(&self) -> Option<EventFlags>
[src]
pub fn revents(&self) -> Option<EventFlags>
Trait Implementations
impl Clone for PollFd
[src]
impl Clone for PollFd
fn clone(&self) -> PollFd
[src]
fn clone(&self) -> PollFd
Returns 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