Trait diesel_async::methods::LoadQuery
source · [−]pub trait LoadQuery<'query, Conn: AsyncConnection, U>where
for<'a> Self: LoadQueryGatWorkaround<'a, 'query, Conn, U>,{
fn internal_load<'conn>(
self,
conn: &'conn mut Conn
) -> <Self as LoadQueryGatWorkaround<'conn, 'query, Conn, U>>::LoadFuture;
}
Expand description
The load
method
This trait should not be relied on directly by most apps. Its behavior is
provided by RunQueryDsl
. However, you may need a where clause on this trait
to call load
from generic code.
Required Methods
sourcefn internal_load<'conn>(
self,
conn: &'conn mut Conn
) -> <Self as LoadQueryGatWorkaround<'conn, 'query, Conn, U>>::LoadFuture
fn internal_load<'conn>(
self,
conn: &'conn mut Conn
) -> <Self as LoadQueryGatWorkaround<'conn, 'query, Conn, U>>::LoadFuture
Load this query