Skip to main content

OpenVerb

Trait OpenVerb 

Source
pub trait OpenVerb: Send + Sync {
    // Required method
    fn handle(&self, path: &Path) -> Option<Result<()>>;

    // Provided method
    fn handle_shell(&self, path: &ShellPath<'_>) -> Option<Result<()>> { ... }
}

Required Methods§

Source

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

Provided Methods§

Source

fn handle_shell(&self, path: &ShellPath<'_>) -> Option<Result<()>>

Implementors§