Trait serai_db::Get

source ·
pub trait Get {
    // Required method
    fn get(&self, key: impl AsRef<[u8]>) -> Option<Vec<u8>>;
}
Expand description

An object implementing get.

Required Methods§

source

fn get(&self, key: impl AsRef<[u8]>) -> Option<Vec<u8>>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Get for Arc<ParityDb>

source§

fn get(&self, key: impl AsRef<[u8]>) -> Option<Vec<u8>>

source§

impl<T: ThreadMode> Get for Arc<OptimisticTransactionDB<T>>

source§

fn get(&self, key: impl AsRef<[u8]>) -> Option<Vec<u8>>

Implementors§

source§

impl Get for MemDb

source§

impl<'a> Get for MemDbTxn<'a>