pub trait DatabaseManagerSystem {
// Required methods
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 Query,
) -> Pin<Box<dyn Future<Output = QueryResult<QueryHandle>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn build_query_state_machine<'life0, 'async_trait>(
&'life0 self,
query: Query,
) -> Pin<Box<dyn Future<Output = QueryResult<QueryStateMachineRef>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn build_logical_plan<'life0, 'async_trait>(
&'life0 self,
query_state_machine: QueryStateMachineRef,
) -> Pin<Box<dyn Future<Output = QueryResult<Option<Plan>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn execute_logical_plan<'life0, 'async_trait>(
&'life0 self,
logical_plan: Plan,
query_state_machine: QueryStateMachineRef,
) -> Pin<Box<dyn Future<Output = QueryResult<QueryHandle>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
// Provided methods
fn try_reserve_query(&self) -> QueryResult<QueryAdmission> { ... }
fn execute_admitted<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 Query,
_admission: QueryAdmission,
) -> Pin<Box<dyn Future<Output = QueryResult<QueryHandle>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
}Required Methods§
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 Query,
) -> Pin<Box<dyn Future<Output = QueryResult<QueryHandle>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn build_query_state_machine<'life0, 'async_trait>(
&'life0 self,
query: Query,
) -> Pin<Box<dyn Future<Output = QueryResult<QueryStateMachineRef>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn build_logical_plan<'life0, 'async_trait>(
&'life0 self,
query_state_machine: QueryStateMachineRef,
) -> Pin<Box<dyn Future<Output = QueryResult<Option<Plan>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute_logical_plan<'life0, 'async_trait>(
&'life0 self,
logical_plan: Plan,
query_state_machine: QueryStateMachineRef,
) -> Pin<Box<dyn Future<Output = QueryResult<QueryHandle>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provided Methods§
fn try_reserve_query(&self) -> QueryResult<QueryAdmission>
fn execute_admitted<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 Query,
_admission: QueryAdmission,
) -> Pin<Box<dyn Future<Output = QueryResult<QueryHandle>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".