pub trait AsyncConnectionGatWorkaround<'conn, 'query, DB: Backend> {
    type ExecuteFuture: Future<Output = QueryResult<usize>> + Send;
    type LoadFuture: Future<Output = QueryResult<Self::Stream>> + Send;
    type Stream: Stream<Item = QueryResult<Self::Row>> + Send;
    type Row: Row<'conn, DB>;
}
Expand description

This trait is a workaround to emulate GAT on stable rust

It is used to specify the return type of AsyncConnection::load and AsyncConnection::execute which may contain lifetimes

Required Associated Types

The future returned by AsyncConnection::execute

The future returned by AsyncConnection::load

The inner stream returned by AsyncConnection::load

The row type used by the stream returned by AsyncConnection::load

Implementors