[][src]Trait raur_ext::RaurExt

pub trait RaurExt: Raur {
    fn cache_info<S: AsRef<str>>(
        &self,
        cache: &mut Cache,
        pkgs: &[S]
    ) -> Result<Vec<Package>, Self::Err> { ... }
fn info_ext<S: AsRef<str>>(
        &self,
        pkgs: &[S]
    ) -> Result<Vec<Package>, Self::Err> { ... } }

Extension functions to raur::Package

Provided methods

fn cache_info<S: AsRef<str>>(
    &self,
    cache: &mut Cache,
    pkgs: &[S]
) -> Result<Vec<Package>, Self::Err>

Perform an info request, storing the results into cache. Requests are not made for packages already in cache. If all packages are already in cache then this is effectivley a noop.

The packages requested will be returned back (even if they were already in cache). Packages that could not be found will be missing from the return.

fn info_ext<S: AsRef<str>>(&self, pkgs: &[S]) -> Result<Vec<Package>, Self::Err>

Perform an info request with package splitting to avoid the URI length limit.

Loading content...

Implementors

impl<T> RaurExt for T where
    T: Raur
[src]

Loading content...