[][src]Trait bm_le::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...

Implementations on Foreign Types

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

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

Loading content...

Implementors

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

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

Loading content...