pub trait LinkStrategy {
// Required methods
fn name(&self) -> &str;
fn probe(&self, dir: &Path) -> bool;
fn link(&self, src: &Path, dst: &Path) -> VtaResult<()>;
}Expand description
A way to materialize an environment view from the store
(docs/09-store.md §link-strategies).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".