pub struct HttpReleaseClient { /* private fields */ }
Expand description

Repository HTTP client bound to a parsed Release or InRelease file.

Trait Implementations

Get the content of a relative path as an async reader. Read more

Obtain a reader that performs content integrity checking. Read more

Get the content of a relative path with decompression transparently applied.

Like Self::get_path_decoded() but also perform content integrity verification. Read more

Obtain the base URL to which this instance is bound.

Obtain the path relative to the repository root this instance is bound to. Read more

Obtain the parsed [In]Release file from which this reader is derived.

Obtain the preferred compression format to retrieve index files in.

Set the preferred compression format for retrieved index files. Read more

Obtain the checksum flavor of content to retrieve. Read more

Obtain ClassifiedReleaseFileEntry within the parsed Release file.

Obtain parsed Packages file entries within this Release file. Read more

Like Self::packages_indices_entries() except it deduplicates entries. Read more

Resolve indices for Contents files. Read more

Resolve indices for Sources file. Read more

Like Self::sources_indices_entries except it deduplicates entries. Read more

fn packages_entry(
    &self,
    component: &str,
    architecture: &str,
    is_installer: bool
) -> Result<PackagesFileEntry<'_>>

Resolve a reference to a Packages file to fetch given search criteria. Read more

fn resolve_packages_from_entry<'entry, 'slf: 'entry, 'async_trait>(
    &'slf self,
    entry: &'entry PackagesFileEntry<'slf>
) -> Pin<Box<dyn Future<Output = Result<BinaryPackageList<'static>>> + Send + 'async_trait>> where
    'entry: 'async_trait,
    'slf: 'async_trait,
    Self: 'async_trait, 

Fetch and parse a Packages file described by a PackagesFileEntry.

Resolve packages given parameters to resolve a Packages file.

Retrieve fetch instructions for binary packages. Read more

fn sources_entry(&self, component: &str) -> Result<SourcesFileEntry<'_>>

Resolve the SourcesFileEntry for a given component. Read more

fn resolve_sources_from_entry<'entry, 'slf: 'entry, 'async_trait>(
    &'slf self,
    entry: &'entry SourcesFileEntry<'slf>
) -> Pin<Box<dyn Future<Output = Result<DebianSourcePackageList<'static>>> + Send + 'async_trait>> where
    'entry: 'async_trait,
    'slf: 'async_trait,
    Self: 'async_trait, 

Fetch a Sources file and parse source package entries inside. Read more

Fetch a Sources file for the given component and parse source package entries inside. Read more

Resolves SourcePackageFetch for describing files to fetch for source packages. Read more

fn contents_entry(
    &self,
    component: &str,
    architecture: &str,
    is_installer: bool
) -> Result<ContentsFileEntry<'_>>

Resolve a reference to a Contents file to fetch given search criteria. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more