Trait ensemble::Collection
source · pub trait Collection {
// Required methods
fn load<T>(
&mut self,
relation: T
) -> impl Future<Output = Result<(), Error>> + Send
where T: Into<EagerLoad> + Send + Sync + Clone;
fn json(&self) -> Value;
}
Required Methods§
Object Safety§
This trait is not object safe.