Trait alpm_utils::DbListExt[][src]

pub trait DbListExt<'a> {
    fn find_target_satisfier<T: AsTarg>(&self, target: T) -> Option<Package<'a>>;
fn find_target<T: AsTarg>(&self, target: T) -> Result<Package<'a>>;
fn pkg<S: Into<Vec<u8>>>(&self, pkg: S) -> Result<Package<'a>>; }
Expand description

Extention for AlpmList

Required methods

Similar to find_satisfier() but expects a Target instead of a &str.

Similar to pkg() but expects a Target instead of a &str.

The same as pkg() on Db but will try each Db in order return the first match.

Implementations on Foreign Types

Implementors