Trait holochain_types::dna::DnaStoreRead[][src]

pub trait DnaStoreRead: Default + Send + Sync {
    fn list(&self) -> Vec<DnaHash>;
fn get(&self, hash: &DnaHash) -> Option<DnaFile>; }
Expand description

Read-only access to a DnaStore, and only for DNAs

Required methods

List all DNAs in the store

Get a particular DnaFile

Implementors