pub trait ExecExecutor: Send {
// Required method
fn exec_with_params_tw<'life0, 'life1, 'async_trait>(
self: Pin<&'life0 mut Self>,
prepared: &'life1 CBytesShort,
query_parameters: QueryParams,
with_tracing: bool,
with_warnings: bool,
) -> Pin<Box<dyn Future<Output = Result<Frame>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
// Provided methods
fn exec_with_params<'life0, 'life1, 'async_trait>(
self: Pin<&'life0 mut Self>,
prepared: &'life1 CBytesShort,
query_parameters: QueryParams,
) -> Pin<Box<dyn Future<Output = Result<Frame>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn exec_with_values_tw<'life0, 'life1, 'async_trait, V>(
self: Pin<&'life0 mut Self>,
prepared: &'life1 CBytesShort,
values: V,
with_tracing: bool,
with_warnings: bool,
) -> Pin<Box<dyn Future<Output = Result<Frame>> + Send + 'async_trait>>
where V: 'async_trait + Into<QueryValues> + Send,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn exec_with_values<'life0, 'life1, 'async_trait, V>(
self: Pin<&'life0 mut Self>,
prepared: &'life1 CBytesShort,
values: V,
) -> Pin<Box<dyn Future<Output = Result<Frame>> + Send + 'async_trait>>
where V: 'async_trait + Into<QueryValues> + Send,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn exec_tw<'life0, 'life1, 'async_trait>(
self: Pin<&'life0 mut Self>,
prepared: &'life1 CBytesShort,
with_tracing: bool,
with_warnings: bool,
) -> Pin<Box<dyn Future<Output = Result<Frame>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn exec<'life0, 'life1, 'async_trait>(
self: Pin<&'life0 mut Self>,
prepared: &'life1 CBytesShort,
) -> Pin<Box<dyn Future<Output = Result<Frame>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
}
Expand description
Traits that provides methods for prepared query execution.
Required Methods§
fn exec_with_params_tw<'life0, 'life1, 'async_trait>(
self: Pin<&'life0 mut Self>,
prepared: &'life1 CBytesShort,
query_parameters: QueryParams,
with_tracing: bool,
with_warnings: bool,
) -> Pin<Box<dyn Future<Output = Result<Frame>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Provided Methods§
fn exec_with_params<'life0, 'life1, 'async_trait>(
self: Pin<&'life0 mut Self>,
prepared: &'life1 CBytesShort,
query_parameters: QueryParams,
) -> Pin<Box<dyn Future<Output = Result<Frame>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn exec_with_values_tw<'life0, 'life1, 'async_trait, V>(
self: Pin<&'life0 mut Self>,
prepared: &'life1 CBytesShort,
values: V,
with_tracing: bool,
with_warnings: bool,
) -> Pin<Box<dyn Future<Output = Result<Frame>> + Send + 'async_trait>>where
V: 'async_trait + Into<QueryValues> + Send,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn exec_with_values<'life0, 'life1, 'async_trait, V>(
self: Pin<&'life0 mut Self>,
prepared: &'life1 CBytesShort,
values: V,
) -> Pin<Box<dyn Future<Output = Result<Frame>> + Send + 'async_trait>>where
V: 'async_trait + Into<QueryValues> + Send,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn exec_tw<'life0, 'life1, 'async_trait>(
self: Pin<&'life0 mut Self>,
prepared: &'life1 CBytesShort,
with_tracing: bool,
with_warnings: bool,
) -> Pin<Box<dyn Future<Output = Result<Frame>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn exec<'life0, 'life1, 'async_trait>(
self: Pin<&'life0 mut Self>,
prepared: &'life1 CBytesShort,
) -> Pin<Box<dyn Future<Output = Result<Frame>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.