Trait cosmic::cosmic_config::ConfigGet

source ·
pub trait ConfigGet {
    // Required method
    fn get<T>(&self, key: &str) -> Result<T, Error>
       where T: DeserializeOwned;
}

Required Methods§

source

fn get<T>(&self, key: &str) -> Result<T, Error>

Get a configuration value

Object Safety§

This trait is not object safe.

Implementors§