pub trait DependenciesCollection: Sized {
// Required methods
fn registry_host_name(&self) -> &str;
fn dependencies(&self) -> &[Dependency];
}Expand description
Common view over dependency collections returned by extensions.
Required Methods§
Sourcefn registry_host_name(&self) -> &str
fn registry_host_name(&self) -> &str
Registry host that owns the dependencies.
Sourcefn dependencies(&self) -> &[Dependency]
fn dependencies(&self) -> &[Dependency]
Dependencies found for the registry or file.
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.