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§

source

type Error

The error to be returned when an index can not be build for a source.

Required Methods§

source

fn build_index(&self) -> Result<ReleaseIndex, Self::Error>

Build a release index from a data set.

Implementors§