Struct posish::io::PollFd [−][src]
#[repr(C)]pub struct PollFd<'fd> { /* fields omitted */ }
Expand description
struct pollfd
Implementations
Constructs a new PollFd
holding fd
and events
.
Constructs a new PollFd
holding fd
and events
.
This is the same as new
, but can be used to avoid borrowing the
BorrowedFd
, which can be tricky in situations where the BorrowedFd
is a temporary.
Trait Implementations
Auto Trait Implementations
impl<'fd> RefUnwindSafe for PollFd<'fd>
impl<'fd> UnwindSafe for PollFd<'fd>
Blanket Implementations
Mutably borrows from an owned value. Read more