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
fn find_target_satisfier<T: AsTarg>(&self, target: T) -> Option<Package<'a>>
fn find_target_satisfier<T: AsTarg>(&self, target: T) -> Option<Package<'a>>
Similar to find_satisfier() but expects a Target instead of a &str.
fn find_target<T: AsTarg>(&self, target: T) -> Result<Package<'a>>
fn find_target<T: AsTarg>(&self, target: T) -> Result<Package<'a>>
Similar to pkg() but expects a Target instead of a &str.