[][src]Trait bm_le::WriteBackend

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

Write backend.

Required methods

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

Rootify a key.

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

Unrootify a key.

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

Insert a new internal item.

Loading content...

Implementations on Foreign Types

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

Loading content...

Implementors

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

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

Loading content...