pub struct AsyncSubmission { /* private fields */ }Expand description
Async command submission handle
Implementations§
Source§impl AsyncSubmission
impl AsyncSubmission
Sourcepub fn new(submission_index: SubmissionIndex, device: Arc<Device>) -> Self
pub fn new(submission_index: SubmissionIndex, device: Arc<Device>) -> Self
Create a new async submission handle
Sourcepub fn index(&self) -> &SubmissionIndex
pub fn index(&self) -> &SubmissionIndex
Get the submission index
Auto Trait Implementations§
impl Freeze for AsyncSubmission
impl !RefUnwindSafe for AsyncSubmission
impl Send for AsyncSubmission
impl Sync for AsyncSubmission
impl Unpin for AsyncSubmission
impl UnsafeUnpin for AsyncSubmission
impl !UnwindSafe for AsyncSubmission
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more