pub struct CommandExecution(/* private fields */);Expand description
Tracks whether a graph command has completed device execution.
Implementations§
Source§impl CommandExecution
impl CommandExecution
Sourcepub fn has_executed(&self) -> Result<bool, CommandExecutionAbandoned>
pub fn has_executed(&self) -> Result<bool, CommandExecutionAbandoned>
Returns true when the tracked command has completed device execution.
Returns CommandExecutionAbandoned if the graph command can no longer execute, such as
when the graph, submission, or queued work was dropped before successful completion.
Trait Implementations§
Source§impl Clone for CommandExecution
impl Clone for CommandExecution
Source§fn clone(&self) -> CommandExecution
fn clone(&self) -> CommandExecution
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 moreAuto Trait Implementations§
impl Freeze for CommandExecution
impl RefUnwindSafe for CommandExecution
impl Send for CommandExecution
impl Sync for CommandExecution
impl Unpin for CommandExecution
impl UnsafeUnpin for CommandExecution
impl UnwindSafe for CommandExecution
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