Trait novasmt::ContentAddrStore [−][src]
pub trait ContentAddrStore: Send + Sync {
fn get<'a>(&'a self, key: &[u8]) -> Option<Cow<'a, [u8]>>;
fn insert(&self, key: &[u8], value: &[u8]);
fn realize<'a>(&'a self, hash: Hashed) -> Option<RawNode<'a>> { ... }
}
Expand description
Trait that implements a thread-safe, concurrent low-level content addressed store.