pub trait JsonSave{
// Provided methods
fn preamble() -> Option<String> { ... }
fn maybe_create_dfl<P: AsRef<Path>>(path_in: P) -> Result<bool> { ... }
fn as_json(&self) -> Result<String> { ... }
fn save<P: AsRef<Path>>(&self, path: P) -> Result<()> { ... }
}
Provided Methods§
fn preamble() -> Option<String>
fn maybe_create_dfl<P: AsRef<Path>>(path_in: P) -> Result<bool>
fn as_json(&self) -> Result<String>
fn save<P: AsRef<Path>>(&self, path: P) -> Result<()>
Object Safety§
This trait is not object safe.