pub trait Pullable {
// Required methods
fn pull_attributes_for_entities<E, A>(
&self,
entities: E,
attributes: A,
) -> Result<BTreeMap<i64, Arc<StructuredMap>>, MentatError>
where E: IntoIterator<Item = i64>,
A: IntoIterator<Item = i64>;
fn pull_attributes_for_entity<A>(
&self,
entity: i64,
attributes: A,
) -> Result<StructuredMap, MentatError>
where A: IntoIterator<Item = i64>;
}Required Methods§
fn pull_attributes_for_entities<E, A>( &self, entities: E, attributes: A, ) -> Result<BTreeMap<i64, Arc<StructuredMap>>, MentatError>
fn pull_attributes_for_entity<A>(
&self,
entity: i64,
attributes: A,
) -> Result<StructuredMap, MentatError>where
A: IntoIterator<Item = i64>,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".