Skip to main content

SchemaProvider

Trait SchemaProvider 

Source
pub trait SchemaProvider: Send + Sync {
    // Required method
    fn ensure_schema<'a>(
        &'a self,
        ctx: &'a UserContext,
    ) -> Pin<Box<dyn Future<Output = Result<(), RuntimeError>> + Send + 'a>>;
}

Required Methods§

Source

fn ensure_schema<'a>( &'a self, ctx: &'a UserContext, ) -> Pin<Box<dyn Future<Output = Result<(), RuntimeError>> + Send + 'a>>

Implementors§