pub struct DiskIoFuture { /* private fields */ }Expand description
Future that awaits a disk I/O completion (NVMe or Direct I/O). Future that awaits a disk I/O completion (NVMe or Direct I/O).
The io_uring SQE was submitted before this future was created. On completion, the CQE handler stores the result and wakes the task.
Trait Implementations§
Source§impl Drop for DiskIoFuture
impl Drop for DiskIoFuture
Source§impl Future for DiskIoFuture
impl Future for DiskIoFuture
Auto Trait Implementations§
impl Freeze for DiskIoFuture
impl RefUnwindSafe for DiskIoFuture
impl Send for DiskIoFuture
impl Sync for DiskIoFuture
impl Unpin for DiskIoFuture
impl UnsafeUnpin for DiskIoFuture
impl UnwindSafe for DiskIoFuture
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
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more