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§