Trait cdrs::query::PrepareExecutor [−][src]
pub trait PrepareExecutor<'a, T: CDRSTransport + 'a>: GetTransport<'a, T> + GetCompressor<'a> { fn prepare_tw<Q: ToString>(
&'a mut self,
query: Q,
with_tracing: bool,
with_warnings: bool
) -> Result<PreparedQuery> { ... } fn prepare<Q: ToString>(&'a mut self, query: Q) -> Result<PreparedQuery> { ... } }
Provided Methods
fn prepare_tw<Q: ToString>(
&'a mut self,
query: Q,
with_tracing: bool,
with_warnings: bool
) -> Result<PreparedQuery>
&'a mut self,
query: Q,
with_tracing: bool,
with_warnings: bool
) -> Result<PreparedQuery>
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.
fn prepare<Q: ToString>(&'a mut self, query: Q) -> Result<PreparedQuery>
It prepares query without additional tracing information and warnings.
Implementors
impl<'a, T: CDRSTransport + 'a, LB: LoadBalancingStrategy<T> + Sized, A: Authenticator + Sized> PrepareExecutor<'a, T> for Session<LB, A>