Struct nanomsg_sys::nn_pollfd [−][src]
#[repr(C)]pub struct nn_pollfd { /* fields omitted */ }
Methods
impl nn_pollfd
[src]
impl nn_pollfd
pub fn new(socket: c_int, pollin: bool, pollout: bool) -> nn_pollfd
[src]
pub fn new(socket: c_int, pollin: bool, pollout: bool) -> nn_pollfd
pub fn pollin_result(&self) -> bool
[src]
pub fn pollin_result(&self) -> bool
pub fn pollout_result(&self) -> bool
[src]
pub fn pollout_result(&self) -> bool
Trait Implementations
impl Clone for nn_pollfd
[src]
impl Clone for nn_pollfd
fn clone(&self) -> nn_pollfd
[src]
fn clone(&self) -> nn_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 nn_pollfd
[src]
impl Copy for nn_pollfd