pub trait CosmicConfigEntrywhere
Self: Sized,{
const VERSION: u64;
// Required methods
fn write_entry(&self, config: &Config) -> Result<(), Error>;
fn get_entry(config: &Config) -> Result<Self, (Vec<Error>, Self)>;
fn update_keys<T: AsRef<str>>(
&mut self,
config: &Config,
changed_keys: &[T],
) -> (Vec<Error>, Vec<&'static str>);
}
Required Associated Constants§
Required Methods§
fn write_entry(&self, config: &Config) -> Result<(), Error>
fn get_entry(config: &Config) -> Result<Self, (Vec<Error>, Self)>
Object Safety§
This trait is not object safe.