pub struct SubmitResult {
pub id: u16,
pub notify: bool,
}Expand description
Result of submitting a buffer to the ring.
Contains the assigned descriptor ID and whether the other side needs to be notified about the new buffer.
Fields§
§id: u16Descriptor ID assigned to the submitted buffer chain Use this ID to correlate completions with submissions.
notify: boolWhether the device should be notified immediately based on the other side’s event suppression settings.
Trait Implementations§
Source§impl Clone for SubmitResult
impl Clone for SubmitResult
Source§fn clone(&self) -> SubmitResult
fn clone(&self) -> SubmitResult
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 SubmitResult
Auto Trait Implementations§
impl Freeze for SubmitResult
impl RefUnwindSafe for SubmitResult
impl Send for SubmitResult
impl Sync for SubmitResult
impl Unpin for SubmitResult
impl UnsafeUnpin for SubmitResult
impl UnwindSafe for SubmitResult
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