Trait iota_config::Config
source · pub trait Configwhere
Self: DeserializeOwned + Serialize,{
// Provided methods
fn persisted(self, path: &Path) -> PersistedConfig<Self> { ... }
fn load<P: AsRef<Path>>(path: P) -> Result<Self, Error> { ... }
fn save<P: AsRef<Path>>(&self, path: P) -> Result<(), Error> { ... }
}
Provided Methods§
fn persisted(self, path: &Path) -> PersistedConfig<Self>
fn load<P: AsRef<Path>>(path: P) -> Result<Self, Error>
fn save<P: AsRef<Path>>(&self, path: P) -> Result<(), Error>
Object Safety§
This trait is not object safe.