[][src]Trait paper::Explorer

pub trait Explorer: Debug {
    fn read(&self, path: &str) -> Outcome<String>;
fn write(&self, path: &str, data: &str) -> Outcome<()>; }

Interacts and processes file data.

Required methods

fn read(&self, path: &str) -> Outcome<String>

Reaturns the data from the file at a given path.

fn write(&self, path: &str, data: &str) -> Outcome<()>

Writes data to a file at the given path.

Loading content...

Implementors

Loading content...