pub trait InstalledPackagesProvider:
Clone
+ Send
+ Sync
+ 'static {
// Required methods
fn iter(&self) -> impl Iterator<Item = &InstalledDist>;
fn get_packages(&self, name: &PackageName) -> Vec<&InstalledDist>;
}Expand description
A wrapper for [uv_installer::SitePackages]
Required Methods§
fn iter(&self) -> impl Iterator<Item = &InstalledDist>
fn get_packages(&self, name: &PackageName) -> Vec<&InstalledDist>
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.