Union linux_unsafe::epoll_data
source · #[repr(C)]
pub union epoll_data {
pub ptr: *mut void,
pub fd: int,
pub u32: u32,
pub u64: u64,
}
Expand description
A type used with crate::epoll_ctl
.
Fields§
§ptr: *mut void
§fd: int
§u32: u32
§u64: u64
Trait Implementations§
source§impl Clone for epoll_data
impl Clone for epoll_data
source§fn clone(&self) -> epoll_data
fn clone(&self) -> epoll_data
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more