[][src]Trait esl01_dag::namedag::LowLevelAccess

pub unsafe trait LowLevelAccess {
    fn dag(&self) -> &IdDag<IndexedLogStore>;
fn map(&self) -> &IdMap; }

Provide low level access to dag and map. Unsafe because it's possible to break consistency by writing to them.

This is currently used in Python bindings to provide an interface that is consistent with smartset.abstractsmartset. Ideally, smartset provides public commit hash interface, and there is no LowLevelAccess here.

Required methods

fn dag(&self) -> &IdDag<IndexedLogStore>

fn map(&self) -> &IdMap

Loading content...

Implementors

impl LowLevelAccess for NameDag[src]

Loading content...