Union nc::types::epoll_data_t
source · #[repr(C)]
pub union epoll_data_t {
pub ptr: usize,
pub fd: i32,
pub v_u32: u32,
pub v_u64: u64,
}
Fields§
§ptr: usize
§fd: i32
§v_u32: u32
§v_u64: u64
Trait Implementations§
source§impl Clone for epoll_data_t
impl Clone for epoll_data_t
source§fn clone(&self) -> epoll_data_t
fn clone(&self) -> epoll_data_t
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 moresource§impl Debug for epoll_data_t
impl Debug for epoll_data_t
source§impl Default for epoll_data_t
impl Default for epoll_data_t
impl Copy for epoll_data_t
Auto Trait Implementations§
impl Freeze for epoll_data_t
impl RefUnwindSafe for epoll_data_t
impl Send for epoll_data_t
impl Sync for epoll_data_t
impl Unpin for epoll_data_t
impl UnwindSafe for epoll_data_t
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more