[][src]Trait bm::WriteBackend

pub trait WriteBackend: ReadBackend {
    fn rootify(
        &mut self,
        key: &<Self::Construct as Construct>::Value
    ) -> Result<(), Self::Error>;
fn unrootify(
        &mut self,
        key: &<Self::Construct as Construct>::Value
    ) -> Result<(), Self::Error>;
fn insert(
        &mut self,
        key: <Self::Construct as Construct>::Value,
        value: (<Self::Construct as Construct>::Value, <Self::Construct as Construct>::Value)
    ) -> Result<(), Self::Error>; }

Write backend.

Required methods

fn rootify(
    &mut self,
    key: &<Self::Construct as Construct>::Value
) -> Result<(), Self::Error>

Rootify a key.

fn unrootify(
    &mut self,
    key: &<Self::Construct as Construct>::Value
) -> Result<(), Self::Error>

Unrootify a key.

fn insert(
    &mut self,
    key: <Self::Construct as Construct>::Value,
    value: (<Self::Construct as Construct>::Value, <Self::Construct as Construct>::Value)
) -> Result<(), Self::Error>

Insert a new internal item. None indicating that we do not know what the internal item is.

Loading content...

Implementors

impl<'a, DB: WriteBackend + ?Sized> WriteBackend for ProvingBackend<'a, DB> where
    <DB::Construct as Construct>::Value: Eq + Hash + Ord
[src]

impl<Ba: WriteBackend> WriteBackend for DynBackend<Ba>[src]

impl<C: Construct> WriteBackend for InMemoryBackend<C> where
    C::Value: Eq + Hash + Ord
[src]

impl<C: Construct> WriteBackend for NoopBackend<C>[src]

Loading content...