pub fn write_insert<T: AsRef<str>>(&mut self, key: T, value: T) -> Result<()> {
        self.insert(key, value);

        self.write()
    }
/// Insert a key-value pair into the config and write to disk.
Insert a key-value pair into the config and write to disk.
Insert a key - value pair into the config and write to disk .
pub fn write_insert<T: AsRef<str>>(&mut self, key: T, value: T) -> Result<()> {
        self.insert(key, value);
        self.write()
    }
pub fn write_insert < T : AsRef < str > > ( & mut self , key : T , value : T ) -> Result < ( ) > { self . insert ( key , value ) ; self . write ( ) }
Insert a key-value pair into the config and write to disk.
Insert a key - value pair into the config and write to disk .
&mut self
key
T
value
T