pub trait Lookup<D>: Send + Sync {
// Required method
fn get_many<'a>(&'a self, ids: &'a [Uuid]) -> BoxFuture<'a, Result<Vec<D>>>;
// Provided method
fn changes(
&self,
after: Option<Uuid>,
limit: u64,
) -> BoxFuture<'_, Result<Vec<Map<String, Value>>>> { ... }
}Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".