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§
Required Methods§
Sourcefn fetch_channel(channel: Channel) -> Result<Self, Self::Error>
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.