Struct hermit_abi::pollfd
source · #[repr(C)]pub struct pollfd {
pub fd: i32,
pub events: i16,
pub revents: i16,
}
Fields§
§fd: i32
file descriptor
events: i16
events to look for
revents: i16
events returned
Trait Implementations§
Auto Trait Implementations§
impl Freeze for pollfd
impl RefUnwindSafe for pollfd
impl Send for pollfd
impl Sync for pollfd
impl Unpin for pollfd
impl UnwindSafe for pollfd
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