Skip to main content

Completion

Trait Completion 

Source
pub trait Completion: Send {
    // Required method
    fn wait(self: Box<Self>) -> Result<()>;
}
Expand description

An async-dispatch completion signal — a backend’s wrapper over a CUDA event / Vulkan fence so the executor can defer the wait past the submit point (Step E Phase A2/A3). No implementors today; all dispatch is synchronous.

Required Methods§

Source

fn wait(self: Box<Self>) -> Result<()>

Block until the enqueued work this handle represents has finished.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§