Trait holochain_types::dna::DnaStoreRead
source · [−]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