AdrRepository

Trait AdrRepository 

Source
pub trait AdrRepository {
    // Required methods
    fn adr_dir(&self) -> &Path;
    fn list(&self) -> Result<Vec<AdrMeta>>;
    fn read_string(&self, path: &Path) -> Result<String>;
    fn write_string(&self, path: &Path, content: &str) -> Result<()>;
}

Required Methods§

Source

fn adr_dir(&self) -> &Path

Source

fn list(&self) -> Result<Vec<AdrMeta>>

Source

fn read_string(&self, path: &Path) -> Result<String>

Source

fn write_string(&self, path: &Path, content: &str) -> Result<()>

Implementors§