ReadonlyState

Trait ReadonlyState 

Source
pub trait ReadonlyState: Send + Sync {
    // Required methods
    fn get(&self, key: &str) -> Option<Value>;
    fn all(&self) -> HashMap<String, Value>;
}

Required Methods§

Source

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

Source

fn all(&self) -> HashMap<String, Value>

Implementors§