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

Implementors

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

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

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

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

Loading content...