pub struct RegisteredIoDestination {
pub handle: u32,
pub buf_index: u16,
pub target_offset: u64,
}Expand description
Fixed-buffer destination registered with io_uring.
A megakernel IO request whose dst_handle matches handle can be serviced
with IORING_OP_READ_FIXED, avoiding per-request iovec allocation and
kernel-side iovec validation.
Fields§
§handle: u32Megakernel IO destination handle.
buf_index: u16io_uring registered-buffer index.
target_offset: u64Byte offset inside the registered GPU-visible buffer.
Trait Implementations§
Source§impl Clone for RegisteredIoDestination
impl Clone for RegisteredIoDestination
Source§fn clone(&self) -> RegisteredIoDestination
fn clone(&self) -> RegisteredIoDestination
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RegisteredIoDestination
Source§impl Debug for RegisteredIoDestination
impl Debug for RegisteredIoDestination
impl Eq for RegisteredIoDestination
Source§impl PartialEq for RegisteredIoDestination
impl PartialEq for RegisteredIoDestination
Source§fn eq(&self, other: &RegisteredIoDestination) -> bool
fn eq(&self, other: &RegisteredIoDestination) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RegisteredIoDestination
Auto Trait Implementations§
impl Freeze for RegisteredIoDestination
impl RefUnwindSafe for RegisteredIoDestination
impl Send for RegisteredIoDestination
impl Sync for RegisteredIoDestination
impl Unpin for RegisteredIoDestination
impl UnsafeUnpin for RegisteredIoDestination
impl UnwindSafe for RegisteredIoDestination
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.