Trait typed_sql::conn::Load[][src]

pub trait Load<C: Connection>: ToSql + Sized {
    type Output: FromRow<C::Row>;
    #[must_use]
    fn load<'life0, 'async_trait>(
        self,
        conn: &'life0 mut C
    ) -> Pin<Box<dyn Future<Output = Result<Self::Output, C::Error>> + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
, { ... } }

Associated Types

Provided methods

#[must_use]
fn load<'life0, 'async_trait>(
    self,
    conn: &'life0 mut C
) -> Pin<Box<dyn Future<Output = Result<Self::Output, C::Error>> + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Implementors

impl<C, S> Load<C> for S where
    C: Connection,
    S: Select,
    S::Queryable: FromRow<C::Row>, 
[src]

type Output = S::Queryable