Skip to main content

RegistryQuery

Trait RegistryQuery 

Source
pub trait RegistryQuery {
    // Required method
    fn published_versions(
        &self,
        ecosystem: &str,
        package: &str,
    ) -> Result<Vec<String>>;
}
Expand description

Queries a package registry for already-published state — the “remote is ground truth” source the release reconciler consults (ADR-0003).

Required Methods§

Source

fn published_versions( &self, ecosystem: &str, package: &str, ) -> Result<Vec<String>>

Versions of package already published to ecosystem’s registry.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§