Trait diem_config::config::PersistableConfig
source · pub trait PersistableConfig: Serialize + DeserializeOwned {
// Provided methods
fn load_config<P: AsRef<Path>>(path: P) -> Result<Self, Error> { ... }
fn save_config<P: AsRef<Path>>(&self, output_file: P) -> Result<(), Error> { ... }
fn parse(serialized: &str) -> Result<Self, Error> { ... }
}