Trait glop::runtime::Storage [] [src]

pub trait Storage {
    fn load(&mut self) -> Result<(i32, HashMap<String, Value>)>;
    fn save(&mut self, seq: i32, vars: HashMap<String, Value>) -> Result<()>;
    fn next_messages(
        &mut self,
        filters: &HashSet<MessageFilter>
    ) -> Result<HashMap<String, Message>>; fn push_msg(&mut self, msg: Message) -> Result<()>; fn vars(&self) -> &HashMap<String, Value>; fn seq(&self) -> i32; fn workspace(&self) -> &str; }

Required Methods

Implementors