Skip to main content

ExportStore

Trait ExportStore 

Source
pub trait ExportStore: SymbolLookup {
    // Required methods
    fn list_files(&self, pattern: Option<&str>) -> Result<Vec<File>, DbError>;
    fn get_deps_for_file(
        &self,
        file_id: i64,
    ) -> Result<Vec<Dependency>, DbError>;
}
Expand description

Operations needed by the export module.

Required Methods§

Source

fn list_files(&self, pattern: Option<&str>) -> Result<Vec<File>, DbError>

Source

fn get_deps_for_file(&self, file_id: i64) -> Result<Vec<Dependency>, DbError>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§