Trait sc_light::blockchain::AuxStore[][src]

pub trait AuxStore {
    fn insert_aux<'a, 'b, 'c, I, D>(
        &self,
        insert: I,
        delete: D
    ) -> Result<(), Error>
    where
        'b: 'a,
        'c: 'a,
        I: IntoIterator<Item = &'a (&'c [u8], &'c [u8])>,
        D: IntoIterator<Item = &'a &'b [u8]>
;
fn get_aux(&self, key: &[u8]) -> Result<Option<Vec<u8, Global>>, Error>; }
Expand description

Provides access to an auxiliary database.

Required methods

Insert auxiliary data into key-value store.

Deletions occur after insertions.

Query auxiliary data from key-value store.

Implementations on Foreign Types

Implementors