Trait FetchResources

Source
pub trait FetchResources: Sized {
    type Error;

    // Required method
    fn fetch_channel(channel: Channel) -> Result<Self, Self::Error>;
}
Expand description

With FetchResources, the set of inputs required to build a release index can be fetched.

Required Associated Types§

Source

type Error

The error to be returned when a resource can not be fetched.

Required Methods§

Source

fn fetch_channel(channel: Channel) -> Result<Self, Self::Error>

Fetch a set of inputs for a release channel.

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.

Implementors§