Trait cosmic::cosmic_config::ConfigSet

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

Required Methods§

source

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

Set a configuration value

Object Safety§

This trait is not object safe.

Implementors§