Trait iota_config::Config

source ·
pub trait Config{
    // 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§

source

fn persisted(self, path: &Path) -> PersistedConfig<Self>

source

fn load<P: AsRef<Path>>(path: P) -> Result<Self, Error>

source

fn save<P: AsRef<Path>>(&self, path: P) -> Result<(), Error>

Object Safety§

This trait is not object safe.

Implementors§