Trait ExecExecutor

Source
pub trait ExecExecutor<T: CDRSTransport + 'static, M: ManageConnection<Connection = RefCell<T>, Error = Error> + Sized>: GetConnection<T, M> + GetCompressor<'static> {
    // Provided methods
    fn exec_with_params_tw(
        &self,
        prepared: &CBytesShort,
        query_parameters: QueryParams,
        with_tracing: bool,
        with_warnings: bool,
    ) -> Result<Frame>
       where Self: Sized { ... }
    fn exec_with_params(
        &self,
        prepared: &CBytesShort,
        query_parameters: QueryParams,
    ) -> Result<Frame>
       where Self: Sized { ... }
    fn exec_with_values_tw<V: Into<QueryValues>>(
        &self,
        prepared: &CBytesShort,
        values: V,
        with_tracing: bool,
        with_warnings: bool,
    ) -> Result<Frame>
       where Self: Sized { ... }
    fn exec_with_values<V: Into<QueryValues>>(
        &self,
        prepared: &CBytesShort,
        values: V,
    ) -> Result<Frame>
       where Self: Sized { ... }
    fn exec_tw(
        &self,
        prepared: &CBytesShort,
        with_tracing: bool,
        with_warnings: bool,
    ) -> Result<Frame>
       where Self: Sized { ... }
    fn exec(&mut self, prepared: &CBytesShort) -> Result<Frame>
       where Self: Sized { ... }
}

Provided Methods§

Source

fn exec_with_params_tw( &self, prepared: &CBytesShort, query_parameters: QueryParams, with_tracing: bool, with_warnings: bool, ) -> Result<Frame>
where Self: Sized,

Source

fn exec_with_params( &self, prepared: &CBytesShort, query_parameters: QueryParams, ) -> Result<Frame>
where Self: Sized,

Source

fn exec_with_values_tw<V: Into<QueryValues>>( &self, prepared: &CBytesShort, values: V, with_tracing: bool, with_warnings: bool, ) -> Result<Frame>
where Self: Sized,

Source

fn exec_with_values<V: Into<QueryValues>>( &self, prepared: &CBytesShort, values: V, ) -> Result<Frame>
where Self: Sized,

Source

fn exec_tw( &self, prepared: &CBytesShort, with_tracing: bool, with_warnings: bool, ) -> Result<Frame>
where Self: Sized,

Source

fn exec(&mut self, prepared: &CBytesShort) -> Result<Frame>
where Self: Sized,

Implementors§

Source§

impl<'a, T: CDRSTransport + 'static, LB: LoadBalancingStrategy<ConnectionPool<M>> + Sized, M: ManageConnection<Connection = RefCell<T>, Error = Error> + Sized> ExecExecutor<T, M> for Session<LB>