pub trait Loadable<DB, T: JoinMeta> {
// Required method
fn load<'s, 'e, 'async_trait, E>(
&'s mut self,
db: E,
) -> Pin<Box<dyn Future<Output = Result<&'s T>> + Send + 'async_trait>>
where T::IdType: 'e + Send + Sync,
E: 'e + Executor<'e, Database = DB> + 'async_trait,
Self: 'async_trait,
's: 'async_trait,
'e: 'async_trait;
}Required Methods§
fn load<'s, 'e, 'async_trait, E>( &'s mut self, db: E, ) -> Pin<Box<dyn Future<Output = Result<&'s T>> + Send + 'async_trait>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.