pub trait Load<A>: Sendwhere
A: AggregateRoot,{
// Required method
fn load(
&self,
id: &<A as Entity>::Id,
) -> impl Future<Output = Result<Option<A>, PortError>> + Send;
}Expand description
Loads an aggregate by id.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".