pub enum SubmissionData<B> {
Owned(B),
Registered(RegisteredRegion),
}Expand description
What a write takes its bytes from, or a read puts them in.
Variants§
Owned(B)
A buffer the submission owns, handed back with its completion.
Registered(RegisteredRegion)
A region of a registered buffer.
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for SubmissionData<B>where
B: Freeze,
impl<B> RefUnwindSafe for SubmissionData<B>where
B: RefUnwindSafe,
impl<B> Send for SubmissionData<B>where
B: Send,
impl<B> Sync for SubmissionData<B>where
B: Sync,
impl<B> Unpin for SubmissionData<B>where
B: Unpin,
impl<B> UnsafeUnpin for SubmissionData<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for SubmissionData<B>where
B: UnwindSafe,
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