[][src]Trait cdrs::query::PrepareExecutor

pub trait PrepareExecutor<T: CDRSTransport + 'static, M: ManageConnection<Connection = RefCell<T>, Error = Error> + Sized>: GetConnection<T, M> + GetCompressor<'static> {
    fn prepare_raw_tw<Q: ToString>(
        &self,
        query: Q,
        with_tracing: bool,
        with_warnings: bool
    ) -> Result<BodyResResultPrepared>
    where
        Self: Sized
, { ... }
fn prepare_raw<Q: ToString>(
        &self,
        query: Q
    ) -> Result<BodyResResultPrepared>
    where
        Self: Sized
, { ... }
fn prepare_tw<Q: ToString>(
        &self,
        query: Q,
        with_tracing: bool,
        with_warnings: bool
    ) -> Result<PreparedQuery>
    where
        Self: Sized
, { ... }
fn prepare<Q: ToString>(&self, query: Q) -> Result<PreparedQuery>
    where
        Self: Sized
, { ... } }

Provided methods

fn prepare_raw_tw<Q: ToString>(
    &self,
    query: Q,
    with_tracing: bool,
    with_warnings: bool
) -> Result<BodyResResultPrepared> where
    Self: Sized
[src]

It prepares a query for execution, along with query itself the method takes with_tracing and with_warnings flags to get tracing information and warnings. Return the raw prepared query result.

fn prepare_raw<Q: ToString>(&self, query: Q) -> Result<BodyResResultPrepared> where
    Self: Sized
[src]

It prepares query without additional tracing information and warnings. Return the raw prepared query result.

fn prepare_tw<Q: ToString>(
    &self,
    query: Q,
    with_tracing: bool,
    with_warnings: bool
) -> Result<PreparedQuery> where
    Self: Sized
[src]

It prepares a query for execution, along with query itself the method takes with_tracing and with_warnings flags to get tracing information and warnings. Return the prepared query ID.

fn prepare<Q: ToString>(&self, query: Q) -> Result<PreparedQuery> where
    Self: Sized
[src]

It prepares query without additional tracing information and warnings. Return the prepared query ID.

Loading content...

Implementors

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

Loading content...