Skip to main content

ViewDefinitionStore

Trait ViewDefinitionStore 

Source
pub trait ViewDefinitionStore:
    Send
    + Sync
    + Debug {
    // Required method
    fn list<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<ViewDefinitionRow>, Error>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
}
Expand description

The rows-in seam super::view_registry::ViewRegistry::reload needs: every definition currently in force, ordered by (update_group, view_set_name) – the order super::view_registry::build_factory relies on regardless of which caller fed it the rows.

Required Methods§

Source

fn list<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<ViewDefinitionRow>, Error>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§