pub struct IoCompletion {
pub slot_idx: u32,
pub mapped_slot: u32,
pub byte_count: u32,
pub tag: u32,
}Expand description
Host-side completion record published into io_queue for a mapped
ingest slot the GPU can consume.
Fields§
§slot_idx: u32Queue slot index.
mapped_slot: u32Mapped ingest slot id / destination handle.
byte_count: u32Number of bytes now valid in the mapped slot.
tag: u32Caller-defined completion tag.
Trait Implementations§
Source§impl Clone for IoCompletion
impl Clone for IoCompletion
Source§fn clone(&self) -> IoCompletion
fn clone(&self) -> IoCompletion
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 IoCompletion
Source§impl Debug for IoCompletion
impl Debug for IoCompletion
impl Eq for IoCompletion
Source§impl PartialEq for IoCompletion
impl PartialEq for IoCompletion
Source§fn eq(&self, other: &IoCompletion) -> bool
fn eq(&self, other: &IoCompletion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IoCompletion
Auto Trait Implementations§
impl Freeze for IoCompletion
impl RefUnwindSafe for IoCompletion
impl Send for IoCompletion
impl Sync for IoCompletion
impl Unpin for IoCompletion
impl UnsafeUnpin for IoCompletion
impl UnwindSafe for IoCompletion
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.