Struct arceos_posix_api::ctypes::epoll_event
source · #[repr(C, packed(1))]pub struct epoll_event {
pub events: u32,
pub data: epoll_data_t,
}
Fields§
§events: u32
§data: epoll_data_t
Trait Implementations§
source§impl Clone for epoll_event
impl Clone for epoll_event
source§fn clone(&self) -> epoll_event
fn clone(&self) -> epoll_event
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 Default for epoll_event
impl Default for epoll_event
impl Copy for epoll_event
impl Send for epoll_event
Available on crate feature
epoll
and (crate features select
or epoll
) only.impl Sync for epoll_event
Available on crate feature
epoll
and (crate features select
or epoll
) only.Auto Trait Implementations§
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