Trait Installation

Source
pub trait Installation: Eq + Ord {
    // Required methods
    fn path(&self) -> &PathBuf;
    fn version(&self) -> &Version;

    // Provided methods
    fn location(&self) -> PathBuf { ... }
    fn exec_path(&self) -> PathBuf { ... }
    fn installed_modules(
        &self,
    ) -> Result<impl IntoIterator<Item = Module>, UnityError> { ... }
    fn get_modules(&self) -> Result<Vec<Module>, UnityError> { ... }
}

Required Methods§

Source

fn path(&self) -> &PathBuf

Source

fn version(&self) -> &Version

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§