Adb

Type Alias Adb 

Source
pub type Adb<E, T> = Any<E, Digest, Value, Sha256, T>;

Aliased Type§

pub struct Adb<E, T> { /* private fields */ }

Trait Implementations§

Source§

impl<E: Spawner + Metrics + Clock + Storage, T: Translator> State for Adb<E, T>

Source§

async fn get(&self, key: &Key) -> Option<Value>

Source§

async fn insert(&mut self, key: Key, value: Value)

Source§

async fn delete(&mut self, key: &Key)

Source§

fn apply(&mut self, changes: Vec<(Key, Status)>) -> impl Future<Output = ()>