Trait rust_releases_core::Source[][src]

pub trait Source {
    type Error;
    fn build_index(&self) -> Result<ReleaseIndex, Self::Error>;
}

A Source is a set of inputs from which a release index can be built.

Associated Types

type Error[src]

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

Loading content...

Required methods

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

Build a release index from a data set.

Loading content...

Implementors

Loading content...