pub struct FdReady<T: Initiate> { /* private fields */ }
Expand description
A pal_async::fd::PollFdReady
implementation for io_uring.
Implementations§
Trait Implementations§
Source§impl<T: Initiate> PollFdReady for FdReady<T>
impl<T: Initiate> PollFdReady for FdReady<T>
Source§fn poll_fd_ready(
&mut self,
cx: &mut Context<'_>,
slot: InterestSlot,
events: PollEvents,
) -> Poll<PollEvents>
fn poll_fd_ready( &mut self, cx: &mut Context<'_>, slot: InterestSlot, events: PollEvents, ) -> Poll<PollEvents>
Polls a file descriptor for readiness.
Source§fn clear_fd_ready(&mut self, slot: InterestSlot)
fn clear_fd_ready(&mut self, slot: InterestSlot)
Clears cached socket readiness so that the next call to
poll_socket_ready
will poll the OS again. Read moreAuto Trait Implementations§
impl<T> Freeze for FdReady<T>where
T: Freeze,
impl<T> !RefUnwindSafe for FdReady<T>
impl<T> Send for FdReady<T>
impl<T> Sync for FdReady<T>
impl<T> Unpin for FdReady<T>
impl<T> !UnwindSafe for FdReady<T>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PollSocketReady for Twhere
T: PollFdReady,
impl<T> PollSocketReady for Twhere
T: PollFdReady,
Source§fn poll_socket_ready(
&mut self,
cx: &mut Context<'_>,
slot: InterestSlot,
events: PollEvents,
) -> Poll<PollEvents>
fn poll_socket_ready( &mut self, cx: &mut Context<'_>, slot: InterestSlot, events: PollEvents, ) -> Poll<PollEvents>
Polls a socket for readiness.
Source§fn clear_socket_ready(&mut self, slot: InterestSlot)
fn clear_socket_ready(&mut self, slot: InterestSlot)
Clears cached socket readiness so that the next call to
poll_socket_ready
will poll the OS again.