pub trait ConnectionGatWorkaround<'conn, 'query, DB: Backend, B = DefaultLoadingMode> {
    type Cursor: Iterator<Item = QueryResult<Self::Row>>;
    type Row: Row<'conn, DB>;
Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
Expand description

This trait describes which cursor type is used by a given connection implementation. This trait is only useful in combination with Connection.

Implementation wise this is a workaround for GAT’s

Required Associated Types

The cursor type returned by LoadConnection::load

Users should handle this as opaque type that implements Iterator

The row type used as Iterator::Item for the iterator implementation of ConnectionGatWorkaround::Cursor