pub trait AsyncBindable<Q>
where Q: AsyncQueryable, Self: Sized,
{ // Required methods fn init<'life0, 'async_trait>( taos: &'life0 Q ) -> Pin<Box<dyn Future<Output = RawResult<Self>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn init_with_req_id<'life0, 'async_trait>( taos: &'life0 Q, req_id: u64 ) -> Pin<Box<dyn Future<Output = RawResult<Self>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn prepare<'life0, 'life1, 'async_trait>( &'life0 mut self, sql: &'life1 str ) -> Pin<Box<dyn Future<Output = RawResult<&mut Self>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn set_tbname<'life0, 'life1, 'async_trait>( &'life0 mut self, name: &'life1 str ) -> Pin<Box<dyn Future<Output = RawResult<&mut Self>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn set_tags<'life0, 'life1, 'async_trait>( &'life0 mut self, tags: &'life1 [Value] ) -> Pin<Box<dyn Future<Output = RawResult<&mut Self>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn bind<'life0, 'life1, 'async_trait>( &'life0 mut self, params: &'life1 [ColumnView] ) -> Pin<Box<dyn Future<Output = RawResult<&mut Self>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn add_batch<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = RawResult<&mut Self>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn execute<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = RawResult<usize>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn affected_rows<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = usize> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; // Provided methods fn set_tbname_tags<'life0, 'life1, 'life2, 'async_trait>( &'life0 mut self, name: &'life1 str, tags: &'life2 [Value] ) -> Pin<Box<dyn Future<Output = RawResult<&mut Self>> + Send + 'async_trait>> where Self: Send + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait { ... } fn result_set<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = RawResult<Q::AsyncResultSet>> + Send + 'async_trait>> where Self: Send + 'async_trait, 'life0: 'async_trait { ... } }

Required Methods§

source

fn init<'life0, 'async_trait>( taos: &'life0 Q ) -> Pin<Box<dyn Future<Output = RawResult<Self>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn init_with_req_id<'life0, 'async_trait>( taos: &'life0 Q, req_id: u64 ) -> Pin<Box<dyn Future<Output = RawResult<Self>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn prepare<'life0, 'life1, 'async_trait>( &'life0 mut self, sql: &'life1 str ) -> Pin<Box<dyn Future<Output = RawResult<&mut Self>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn set_tbname<'life0, 'life1, 'async_trait>( &'life0 mut self, name: &'life1 str ) -> Pin<Box<dyn Future<Output = RawResult<&mut Self>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn set_tags<'life0, 'life1, 'async_trait>( &'life0 mut self, tags: &'life1 [Value] ) -> Pin<Box<dyn Future<Output = RawResult<&mut Self>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn bind<'life0, 'life1, 'async_trait>( &'life0 mut self, params: &'life1 [ColumnView] ) -> Pin<Box<dyn Future<Output = RawResult<&mut Self>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn add_batch<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = RawResult<&mut Self>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn execute<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = RawResult<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn affected_rows<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = usize> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Provided Methods§

source

fn set_tbname_tags<'life0, 'life1, 'life2, 'async_trait>( &'life0 mut self, name: &'life1 str, tags: &'life2 [Value] ) -> Pin<Box<dyn Future<Output = RawResult<&mut Self>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source

fn result_set<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = RawResult<Q::AsyncResultSet>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Object Safety§

This trait is not object safe.

Implementors§