pub trait Source {
type Error;
// Required method
fn build_index(&self) -> Result<ReleaseIndex, Self::Error>;
}Expand description
A Source is a set of inputs from which a release index can be built.
Required Associated Types§
Required Methods§
Sourcefn build_index(&self) -> Result<ReleaseIndex, Self::Error>
fn build_index(&self) -> Result<ReleaseIndex, Self::Error>
Build a release index from a data set.