Trait Fence
pub trait Fence:
Debug
+ Send
+ Sync {
// Required methods
fn completion(&self) -> Completion;
fn wait(&self) -> Result<(), Diagnostic>;
}Description
Backend fence whose vendor event remains private to the adapter.
Required Methods§
fn completion(&self) -> Completion
fn completion(&self) -> Completion
Eqiora-owned completion identity.
fn wait(&self) -> Result<(), Diagnostic>
fn wait(&self) -> Result<(), Diagnostic>
Wait until the associated operation has completed.
§Errors
Returns a stable diagnostic if synchronization fails.