pub trait FileInterface {
    fn filepath(&self) -> Box<Path>;

    fn extract(&mut self) -> Vec<String>  { ... }
    fn open_file(&self) -> File { ... }
}
Expand description

A complete interface for interacting with files and file-like objects

Required Methods

Provided Methods

Implementors