Trait ReadData
Other items insourmash::index::storage
pub trait ReadData<D> { fn data(&self) -> Result<&D, Error>; }
Implemented by anything that wants to read specific data from a storage.
fn data(&self) -> Result<&D, Error>
impl ReadData<Signature> for SigStore<Signature>
impl ReadData<Nodegraph> for Node<Nodegraph>