Skip to main content

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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§