Store

Trait Store 

Source
pub trait Store: Send + Sync {
    // Required methods
    fn metadata_as_ipc(&self) -> Result<Vec<IpcMessageWithId>, Error>;
    fn update(&self, msg: &IpcMessageWithId) -> Result<(), Error>;
}

Required Methods§

Source

fn metadata_as_ipc(&self) -> Result<Vec<IpcMessageWithId>, Error>

Returns the metadata for this store as a vec of ipc messages

Source

fn update(&self, msg: &IpcMessageWithId) -> Result<(), Error>

Updates this store with an ipc message

Implementors§