pub trait FromPostgres: Sized {
    // Required method
    fn try_from_postgres<'life0, 'life1, 'async_trait>(
        conn: &'life0 mut PgConnection,
        schema_name: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

source

fn try_from_postgres<'life0, 'life1, 'async_trait>( conn: &'life0 mut PgConnection, schema_name: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementations on Foreign Types§

source§

impl FromPostgres for Schema

source§

fn try_from_postgres<'life0, 'life1, 'async_trait>( conn: &'life0 mut PgConnection, schema_name: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<Schema>> + Send + 'async_trait>>where 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§