Trait RustReleasesClient

Source
pub trait RustReleasesClient {
    type Error;

    // Required method
    fn fetch(
        &self,
        resource: ResourceFile<'_, '_>,
    ) -> Result<RetrievedDocument, Self::Error>;
}
Expand description

Fetch a document, given a resource description.

Required Associated Types§

Source

type Error

The type of error returned by the client implementation.

Required Methods§

Source

fn fetch( &self, resource: ResourceFile<'_, '_>, ) -> Result<RetrievedDocument, Self::Error>

Fetch the document described by the resource file.

Implementors§