pub struct PollOnce<S> { /* private fields */ }
Expand description
Poll a file descriptor for specified Interest
.
Implementations§
Trait Implementations§
Source§impl<S: AsRawFd> OpCode for PollOnce<S>
impl<S: AsRawFd> OpCode for PollOnce<S>
Source§impl<S: AsRawFd> OpCode for PollOnce<S>
impl<S: AsRawFd> OpCode for PollOnce<S>
Source§fn create_entry(self: Pin<&mut Self>) -> OpEntry
fn create_entry(self: Pin<&mut Self>) -> OpEntry
Create submission entry.
Source§fn call_blocking(self: Pin<&mut Self>) -> Result<usize>
fn call_blocking(self: Pin<&mut Self>) -> Result<usize>
Call the operation in a blocking way. This method will only be called if
[
create_entry
] returns OpEntry::Blocking
.Auto Trait Implementations§
impl<S> Freeze for PollOnce<S>
impl<S> RefUnwindSafe for PollOnce<S>
impl<S> Send for PollOnce<S>
impl<S> Sync for PollOnce<S>
impl<S> Unpin for PollOnce<S>
impl<S> UnwindSafe for PollOnce<S>
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