Skip to main content

Pullable

Trait Pullable 

Source
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§

Source

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>,

Source

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".

Implementors§

Source§

impl Pullable for Store

Source§

impl<'a, 'c> Pullable for InProgress<'a, 'c>

Source§

impl<'a, 'c> Pullable for InProgressRead<'a, 'c>