[][src]Struct alpm::Alpm

pub struct Alpm { /* fields omitted */ }

Methods

impl Alpm[src]

pub fn new<S: Into<String>>(root: S, db_path: S) -> Result<Alpm>[src]

impl Alpm[src]

pub fn pkg_load<S: Into<String>>(
    &self,
    filename: S,
    full: bool,
    level: SigLevel
) -> Result<Package>
[src]

impl Alpm[src]

Important traits for AlpmList<'a, T>
pub fn check_conflicts(&self, pkgs: AlpmList<Package>) -> AlpmList<Conflict>[src]

impl Alpm[src]

pub fn register_syncdb<S: Into<String>>(
    &self,
    name: S,
    sig_level: SigLevel
) -> Result<Db>
[src]

pub fn unregister_all_syncdbs(&mut self) -> Result<()>[src]

impl Alpm[src]

Important traits for AlpmList<'a, T>
pub fn check_deps(
    &self,
    pkgs: AlpmList<Package>,
    rem: AlpmList<Package>,
    upgrade: AlpmList<Package>,
    reverse_deps: bool
) -> AlpmList<DepMissing>
[src]

impl Alpm[src]

pub fn fetch_pkgurl<S: Into<String>>(&self, url: S) -> Result<String>[src]

impl Alpm[src]

pub fn last_error(&self) -> Error[src]

impl Alpm[src]

pub fn as_alpm_handle_t(&self) -> *mut alpm_handle_t[src]

pub fn unlock(&self) -> Result<()>[src]

pub fn root(&self) -> &str[src]

pub fn dbpath(&self) -> &str[src]

Important traits for AlpmList<'a, T>
pub fn hookdirs(&self) -> AlpmList<&str>[src]

Important traits for AlpmList<'a, T>
pub fn cachedirs(&self) -> AlpmList<&str>[src]

pub fn lockfile(&self) -> &str[src]

pub fn gpgdir(&self) -> &str[src]

pub fn use_syslog(&self) -> bool[src]

Important traits for AlpmList<'a, T>
pub fn noupgrades(&self) -> AlpmList<&str>[src]

Important traits for AlpmList<'a, T>
pub fn noextracts(&self) -> AlpmList<&str>[src]

Important traits for AlpmList<'a, T>
pub fn ignorepkgs(&self) -> AlpmList<&str>[src]

Important traits for AlpmList<'a, T>
pub fn ignoregroups(&self) -> AlpmList<&str>[src]

Important traits for AlpmList<'a, T>
pub fn overwrite_files(&self) -> AlpmList<&str>[src]

Important traits for AlpmList<'a, T>
pub fn assume_installed(&self) -> AlpmList<Depend>[src]

pub fn arch(&self) -> &str[src]

pub fn check_space(&self) -> bool[src]

pub fn dbext(&self) -> &str[src]

pub fn add_hookdir<S: Into<String>>(&mut self, s: S) -> Result<()>[src]

pub fn set_hookdirs<S: Into<String>, I: IntoIterator<Item = S>>(
    &mut self,
    list: I
) -> Result<()>
[src]

pub fn remove_hookdir<S: Into<String>>(&mut self, s: S) -> Result<bool>[src]

pub fn add_cachedir<S: Into<String>>(&mut self, s: S) -> Result<()>[src]

pub fn set_cachedirs<S: Into<String>, I: IntoIterator<Item = S>>(
    &mut self,
    list: I
) -> Result<()>
[src]

pub fn remove_cachedir<S: Into<String>>(&mut self, s: S) -> Result<bool>[src]

pub fn set_logfile<S: Into<String>>(&self, s: S) -> Result<()>[src]

pub fn set_gpgdir<S: Into<String>>(&self, s: S) -> Result<()>[src]

pub fn set_use_syslog(&self, b: bool)[src]

pub fn add_noupgrade<S: Into<String>>(&mut self, s: S) -> Result<()>[src]

pub fn set_noupgrades<S: Into<String>, I: IntoIterator<Item = S>>(
    &mut self,
    list: I
) -> Result<()>
[src]

pub fn remove_noupgrade<S: Into<String>>(&mut self, s: S) -> Result<bool>[src]

pub fn match_noupgrade<S: Into<String>>(&mut self, s: S) -> Match[src]

pub fn add_noextract<S: Into<String>>(&mut self, s: S) -> Result<()>[src]

pub fn set_noextracts<S: Into<String>, I: IntoIterator<Item = S>>(
    &mut self,
    list: I
) -> Result<()>
[src]

pub fn remove_noextract<S: Into<String>>(&mut self, s: S) -> Result<bool>[src]

pub fn match_noextract<S: Into<String>>(&mut self, s: S) -> Match[src]

pub fn add_ignorepkg<S: Into<String>>(&mut self, s: S) -> Result<()>[src]

pub fn set_ignorepkgs<S: Into<String>, I: IntoIterator<Item = S>>(
    &mut self,
    list: I
) -> Result<()>
[src]

pub fn remove_ignorepkg<S: Into<String>>(&mut self, s: S) -> Result<bool>[src]

pub fn add_ignoregroup<S: Into<String>>(&mut self, s: S) -> Result<()>[src]

pub fn set_ignoregroups<S: Into<String>, I: IntoIterator<Item = S>>(
    &mut self,
    list: I
) -> Result<()>
[src]

pub fn remove_ignoregroup<S: Into<String>>(&mut self, s: S) -> Result<bool>[src]

pub fn add_overwrite_file<S: Into<String>>(&mut self, s: S) -> Result<()>[src]

pub fn set_overwrite_files<S: Into<String>, I: IntoIterator<Item = S>>(
    &mut self,
    list: I
) -> Result<()>
[src]

pub fn remove_overwrite_file<S: Into<String>>(&mut self, s: S) -> Result<bool>[src]

pub fn add_assume_installed(&mut self, s: Depend) -> Result<()>[src]

pub fn set_assume_installed<'a, I: IntoIterator<Item = Depend<'a>>>(
    &'a mut self,
    list: I
) -> Result<()>
[src]

pub fn remove_assume_installed(&mut self, s: Depend) -> Result<bool>[src]

pub fn set_arch<S: Into<String>>(&self, s: S)[src]

pub fn localdb(&self) -> Db[src]

Important traits for AlpmList<'a, T>
pub fn syncdbs(&self) -> AlpmList<Db>[src]

pub fn set_check_space(&self, b: bool)[src]

pub fn set_dbext<S: Into<String>>(&self, s: S)[src]

pub fn set_default_siglevel(&self, s: SigLevel) -> Result<()>[src]

pub fn default_siglevel(&self) -> SigLevel[src]

pub fn set_local_file_siglevel(&self, s: SigLevel) -> Result<()>[src]

pub fn local_file_siglevel(&self) -> SigLevel[src]

pub fn set_remote_file_siglevel(&self, s: SigLevel) -> Result<()>[src]

pub fn remote_file_siglevel(&self) -> SigLevel[src]

pub fn set_disable_dl_timeout(&self, b: bool)[src]

impl Alpm[src]

pub fn extract_keyid<'a, S: Into<String>>(
    &'a self,
    ident: S,
    sig: &[u8]
) -> Result<AlpmList<'a, String>>
[src]

impl Alpm[src]

Important traits for AlpmList<'a, T>
pub fn find_group_pkgs<'a, S: Into<String>>(
    &'a self,
    dbs: AlpmList<Db>,
    s: S
) -> AlpmList<'a, Package<'a>>
[src]

impl<'a> Alpm[src]

pub fn trans(&'a self, flags: TransFlag) -> Result<Trans<'a>>[src]

Trait Implementations

impl Drop for Alpm[src]

impl Debug for Alpm[src]

Auto Trait Implementations

impl !Send for Alpm

impl !Sync for Alpm

impl Unpin for Alpm

impl RefUnwindSafe for Alpm

impl UnwindSafe for Alpm

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]