pub struct ReadManagedAt<S: AsFd> { /* private fields */ }
Available on
io_uring
only.Expand description
A fused ReadManagedAt
operation
Implementations§
Source§impl<S: AsFd> ReadManagedAt<S>
impl<S: AsFd> ReadManagedAt<S>
Trait Implementations§
Source§impl<S: AsFd> OpCode for ReadManagedAt<S>
impl<S: AsFd> OpCode for ReadManagedAt<S>
Source§impl<S: AsFd> OpCode for ReadManagedAt<S>
impl<S: AsFd> OpCode for ReadManagedAt<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
.Source§impl<S: AsFd> TakeBuffer for ReadManagedAt<S>
impl<S: AsFd> TakeBuffer for ReadManagedAt<S>
Source§type BufferPool = BufferPool
type BufferPool = BufferPool
Buffer pool type.
Source§type Buffer<'a> = BorrowedBuffer<'a>
type Buffer<'a> = BorrowedBuffer<'a>
Selected buffer type. It keeps the reference to the buffer pool and
returns the buffer back on drop.
Source§fn take_buffer(
self,
buffer_pool: &Self::BufferPool,
result: Result<usize>,
flags: u32,
) -> Result<Self::Buffer<'_>>
fn take_buffer( self, buffer_pool: &Self::BufferPool, result: Result<usize>, flags: u32, ) -> Result<Self::Buffer<'_>>
Take the selected buffer with
buffer_pool
, io result
and flags
, if
io operation is success.Auto Trait Implementations§
impl<S> Freeze for ReadManagedAt<S>where
S: Freeze,
impl<S> !RefUnwindSafe for ReadManagedAt<S>
impl<S> !Send for ReadManagedAt<S>
impl<S> !Sync for ReadManagedAt<S>
impl<S> !Unpin for ReadManagedAt<S>
impl<S> !UnwindSafe for ReadManagedAt<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