[][src]Trait ena::sql::StatementTrait

pub trait StatementTrait<T>: Send + Sync {
#[must_use]    fn prepare<'life0, 'life1, 'async_trait>(
        &'life0 self,
        stmt: &'life1 str
    ) -> Pin<Box<dyn Future<Output = T> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]fn prepare<'life0, 'life1, 'async_trait>(
    &'life0 self,
    stmt: &'life1 str
) -> Pin<Box<dyn Future<Output = T> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementations on Foreign Types

impl StatementTrait<Statement> for Client[src]

impl StatementTrait<Stmt<Conn>> for Pool[src]

Loading content...

Implementors

Loading content...