Skip to main content

TeaqlRuntime

Trait TeaqlRuntime 

Source
pub trait TeaqlRuntime {
    // Required methods
    fn user_context(&self) -> &UserContext;
    fn fetch_facet_smart_list(
        &self,
        entity: &str,
        query: &SelectQuery,
        relation_aggregates: &[RuntimeRelationAggregate],
        trace_context: Vec<TraceNode>,
    ) -> impl Future<Output = Result<SmartList<Record>, RuntimeError>> + Send;
}

Required Methods§

Source

fn user_context(&self) -> &UserContext

Source

fn fetch_facet_smart_list( &self, entity: &str, query: &SelectQuery, relation_aggregates: &[RuntimeRelationAggregate], trace_context: Vec<TraceNode>, ) -> impl Future<Output = Result<SmartList<Record>, RuntimeError>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§