[][src]Trait bm_le::Backend

pub trait Backend {
    type Construct: Construct;
    type Error;
}

Traits for a merkle database.

Associated Types

type Construct: Construct

Construct of the backend.

type Error

Error type for DB access.

Loading content...

Implementations on Foreign Types

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

type Construct = <Ba as Backend>::Construct

type Error = ()

impl<'a, DB> Backend for ProvingBackend<'a, DB> where
    DB: Backend + ?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]

type Construct = <DB as Backend>::Construct

type Error = <DB as Backend>::Error

Loading content...

Implementors

impl<C> Backend for InMemoryBackend<C> where
    C: Construct
[src]

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

Loading content...