PathResolver

Trait PathResolver 

Source
pub trait PathResolver {
    // Required method
    fn resolve(&self, bin: &str) -> Result<SafePath>;
}

Required Methods§

Source

fn resolve(&self, bin: &str) -> Result<SafePath>

Resolve a binary name to a SafePath.

§Errors

Returns an error if the binary cannot be resolved to a safe path.

Implementors§