Type Alias pollfd

Source
pub type pollfd = linux_pollfd;

Aliased Type§

struct pollfd {
    pub fd: i32,
    pub events: i16,
    pub revents: i16,
}

Fields§

§fd: i32§events: i16§revents: i16

Trait Implementations§

Source§

impl Pod for pollfd

Source§

impl Clone for linux_pollfd

Source§

fn clone(&self) -> linux_pollfd

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for linux_pollfd

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for linux_pollfd

Source§

fn eq(&self, other: &linux_pollfd) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for linux_pollfd

Source§

impl Eq for linux_pollfd

Source§

impl StructuralPartialEq for linux_pollfd