Skip to main content

Opener

Trait Opener 

Source
pub trait Opener {
    // Required methods
    fn command(&self) -> Option<String>;
    fn open(&self, command: &str, file: &Path) -> Result<()>;
}

Required Methods§

Source

fn command(&self) -> Option<String>

Source

fn open(&self, command: &str, file: &Path) -> Result<()>

Implementors§