Struct esp_idf_sys::pollfd
source · [−]#[repr(C)]pub struct pollfd {
pub fd: c_int,
pub events: c_short,
pub revents: c_short,
}
Fields
fd: c_int
events: c_short
revents: c_short
Trait Implementations
impl Copy for pollfd
Auto Trait Implementations
impl RefUnwindSafe for pollfd
impl Send for pollfd
impl Sync for pollfd
impl Unpin for pollfd
impl UnwindSafe for pollfd
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more