#[repr(C)]pub struct PollFd {
pub fd: i32,
pub events: PollEvent,
pub revents: PollEvent,
}
Fields§
§fd: i32
file descriptor
events: PollEvent
events to look for
revents: PollEvent
events returned
Trait Implementations§
impl Copy for PollFd
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