File

Trait File 

Source
pub trait File {
    // Required methods
    fn load(path: &Path) -> Result<Self>
       where Self: Sized;
    fn write(&self, path: &Path) -> Result<()>;
}
Expand description

Generic trait

Required Methods§

Source

fn load(path: &Path) -> Result<Self>
where Self: Sized,

Source

fn write(&self, path: &Path) -> Result<()>

Implementors§