Trait usiem::components::common::SiemComponentStateStorage[][src]

pub trait SiemComponentStateStorage {
    fn read_value(key: Cow<'static, str>) -> Result<Value, Cow<'static, str>>;
fn set_value(
        key: Cow<'static, str>,
        value: Value
    ) -> Result<(), Cow<'static, str>>; }

Required methods

fn read_value(key: Cow<'static, str>) -> Result<Value, Cow<'static, str>>[src]

Read a key value from the database

fn set_value(
    key: Cow<'static, str>,
    value: Value
) -> Result<(), Cow<'static, str>>
[src]

Write to the database a key/value pair

Loading content...

Implementors

Loading content...