Trait fluvio::dataplane::types::config_file::SaveLoadConfig
source · pub trait SaveLoadConfig {
// Required methods
fn save_to<T>(&self, path: T) -> Result<(), Error>
where T: AsRef<Path>;
fn load_from<T>(path: T) -> Result<Self, LoadConfigError>
where T: AsRef<Path>,
Self: Sized;
fn load_str(config: &str) -> Result<Self, LoadConfigError>
where Self: Sized;
}
Required Methods§
fn save_to<T>(&self, path: T) -> Result<(), Error>
fn load_from<T>(path: T) -> Result<Self, LoadConfigError>
fn load_str(config: &str) -> Result<Self, LoadConfigError>where
Self: Sized,
Object Safety§
This trait is not object safe.