pub struct PollFd { /* private fields */ }
Expand description
A request for polling a socket and the poll result.
To create the request, see Socket::new_pollfd
.
To get the result, see PollFd::can_read
and PollFd::can_write
.
Implementations§
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