Back to Eqiora docs Skip to main content

Fence

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

Eqiora-owned completion identity.

fn wait(&self) -> Result<(), Diagnostic>

Wait until the associated operation has completed.

§Errors

Returns a stable diagnostic if synchronization fails.

Implementors§