[−][src]Trait bm_le::WriteBackend
Write backend.
Required methods
fn rootify(
&mut self,
key: &<Self::Construct as Construct>::Value
) -> Result<(), Self::Error>
&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>
&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>
&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.
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]
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,
fn rootify(
&mut self,
key: &<<DB as Backend>::Construct as Construct>::Value
) -> Result<(), <ProvingBackend<'a, DB> as Backend>::Error>
[src]
&mut self,
key: &<<DB as Backend>::Construct as Construct>::Value
) -> Result<(), <ProvingBackend<'a, DB> as Backend>::Error>
fn unrootify(
&mut self,
key: &<<DB as Backend>::Construct as Construct>::Value
) -> Result<(), <ProvingBackend<'a, DB> as Backend>::Error>
[src]
&mut self,
key: &<<DB as Backend>::Construct as Construct>::Value
) -> Result<(), <ProvingBackend<'a, DB> as Backend>::Error>
fn insert(
&mut self,
key: <<DB as Backend>::Construct as Construct>::Value,
value: (<<DB as Backend>::Construct as Construct>::Value, <<DB as Backend>::Construct as Construct>::Value)
) -> Result<(), <ProvingBackend<'a, DB> as Backend>::Error>
[src]
&mut self,
key: <<DB as Backend>::Construct as Construct>::Value,
value: (<<DB as Backend>::Construct as Construct>::Value, <<DB as Backend>::Construct as Construct>::Value)
) -> Result<(), <ProvingBackend<'a, DB> as Backend>::Error>
impl<Ba> WriteBackend for DynBackend<Ba> where
Ba: WriteBackend,
[src]
Ba: WriteBackend,
fn rootify(
&mut self,
key: &<<DynBackend<Ba> as Backend>::Construct as Construct>::Value
) -> Result<(), <DynBackend<Ba> as Backend>::Error>
[src]
&mut self,
key: &<<DynBackend<Ba> as Backend>::Construct as Construct>::Value
) -> Result<(), <DynBackend<Ba> as Backend>::Error>
fn unrootify(
&mut self,
key: &<<DynBackend<Ba> as Backend>::Construct as Construct>::Value
) -> Result<(), <DynBackend<Ba> as Backend>::Error>
[src]
&mut self,
key: &<<DynBackend<Ba> as Backend>::Construct as Construct>::Value
) -> Result<(), <DynBackend<Ba> as Backend>::Error>
fn insert(
&mut self,
key: <<DynBackend<Ba> as Backend>::Construct as Construct>::Value,
value: (<<DynBackend<Ba> as Backend>::Construct as Construct>::Value, <<DynBackend<Ba> as Backend>::Construct as Construct>::Value)
) -> Result<(), <DynBackend<Ba> as Backend>::Error>
[src]
&mut self,
key: <<DynBackend<Ba> as Backend>::Construct as Construct>::Value,
value: (<<DynBackend<Ba> as Backend>::Construct as Construct>::Value, <<DynBackend<Ba> as Backend>::Construct as Construct>::Value)
) -> Result<(), <DynBackend<Ba> as Backend>::Error>
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]
C: Construct,
<C as Construct>::Value: Eq,
<C as Construct>::Value: Hash,
<C as Construct>::Value: Ord,
fn rootify(
&mut self,
key: &<C as Construct>::Value
) -> Result<(), <InMemoryBackend<C> as Backend>::Error>
[src]
&mut self,
key: &<C as Construct>::Value
) -> Result<(), <InMemoryBackend<C> as Backend>::Error>
fn unrootify(
&mut self,
key: &<C as Construct>::Value
) -> Result<(), <InMemoryBackend<C> as Backend>::Error>
[src]
&mut self,
key: &<C as Construct>::Value
) -> Result<(), <InMemoryBackend<C> as Backend>::Error>
fn insert(
&mut self,
key: <C as Construct>::Value,
value: (<C as Construct>::Value, <C as Construct>::Value)
) -> Result<(), <InMemoryBackend<C> as Backend>::Error>
[src]
&mut self,
key: <C as Construct>::Value,
value: (<C as Construct>::Value, <C as Construct>::Value)
) -> Result<(), <InMemoryBackend<C> as Backend>::Error>
impl<C> WriteBackend for NoopBackend<C> where
C: Construct,
[src]
C: Construct,
fn rootify(
&mut self,
_key: &<C as Construct>::Value
) -> Result<(), <NoopBackend<C> as Backend>::Error>
[src]
&mut self,
_key: &<C as Construct>::Value
) -> Result<(), <NoopBackend<C> as Backend>::Error>
fn unrootify(
&mut self,
_key: &<C as Construct>::Value
) -> Result<(), <NoopBackend<C> as Backend>::Error>
[src]
&mut self,
_key: &<C as Construct>::Value
) -> Result<(), <NoopBackend<C> as Backend>::Error>
fn insert(
&mut self,
_key: <C as Construct>::Value,
_value: (<C as Construct>::Value, <C as Construct>::Value)
) -> Result<(), <NoopBackend<C> as Backend>::Error>
[src]
&mut self,
_key: <C as Construct>::Value,
_value: (<C as Construct>::Value, <C as Construct>::Value)
) -> Result<(), <NoopBackend<C> as Backend>::Error>