Trait alpm_utils::DbListExt
source · pub trait DbListExt<'a> {
// Required methods
fn find_target_satisfier<T: AsTarg>(&self, target: T) -> Option<&'a Package>;
fn find_target<T: AsTarg>(&self, target: T) -> Result<&'a Package>;
fn pkg<S: Into<Vec<u8>>>(&self, pkg: S) -> Result<&'a Package>;
}
Expand description
Extention for AlpmList
Required Methods§
sourcefn find_target_satisfier<T: AsTarg>(&self, target: T) -> Option<&'a Package>
fn find_target_satisfier<T: AsTarg>(&self, target: T) -> Option<&'a Package>
Similar to find_satisfier() but expects a Target instead of a &str.
sourcefn find_target<T: AsTarg>(&self, target: T) -> Result<&'a Package>
fn find_target<T: AsTarg>(&self, target: T) -> Result<&'a Package>
Similar to pkg() but expects a Target instead of a &str.
Object Safety§
This trait is not object safe.