cosmic_config

Trait ConfigSet

source
pub trait ConfigSet {
    // Required method
    fn set<T: Serialize>(&self, key: &str, value: T) -> Result<(), Error>;
}

Required Methods§

source

fn set<T: Serialize>(&self, key: &str, value: T) -> Result<(), Error>

Set a configuration value

Object Safety§

This trait is not object safe.

Implementors§