[][src]Trait bm_le::ReadBackend

pub trait ReadBackend: Backend {
    fn get(
        &mut self,
        key: &<Self::Construct as Construct>::Value
    ) -> Result<Option<(<Self::Construct as Construct>::Value, <Self::Construct as Construct>::Value)>, Self::Error>; }

Read backend.

Required methods

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

Get an internal item by key.

Loading content...

Implementations on Foreign Types

impl<'a, DB> ReadBackend for ProvingBackend<'a, DB> where
    DB: ReadBackend + ?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> ReadBackend for DynBackend<Ba> where
    Ba: ReadBackend
[src]

Loading content...

Implementors

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

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

Loading content...