[−][src]Struct alpm::Alpm
Methods
impl Alpm
[src]
impl Alpm
[src]
pub fn pkg_load<S: Into<String>>(
&self,
filename: S,
full: bool,
level: SigLevel
) -> Result<Package>
[src]
&self,
filename: S,
full: bool,
level: SigLevel
) -> Result<Package>
impl Alpm
[src]
ⓘImportant traits for AlpmList<'a, T>pub fn check_conflicts(&self, pkgs: AlpmList<Package>) -> AlpmList<Conflict>
[src]
ⓘImportant traits for AlpmList<'a, T>
impl Alpm
[src]
pub fn register_syncdb<S: Into<String>>(
&self,
name: S,
sig_level: SigLevel
) -> Result<Db>
[src]
&self,
name: S,
sig_level: SigLevel
) -> Result<Db>
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]
ⓘImportant traits for AlpmList<'a, T>
&self,
pkgs: AlpmList<Package>,
rem: AlpmList<Package>,
upgrade: AlpmList<Package>,
reverse_deps: bool
) -> AlpmList<DepMissing>
impl Alpm
[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>
ⓘImportant traits for AlpmList<'a, T>pub fn cachedirs(&self) -> AlpmList<&str>
[src]
ⓘImportant traits for AlpmList<'a, T>
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>
ⓘImportant traits for AlpmList<'a, T>pub fn noextracts(&self) -> AlpmList<&str>
[src]
ⓘImportant traits for AlpmList<'a, T>
ⓘImportant traits for AlpmList<'a, T>pub fn ignorepkgs(&self) -> AlpmList<&str>
[src]
ⓘImportant traits for AlpmList<'a, T>
ⓘImportant traits for AlpmList<'a, T>pub fn ignoregroups(&self) -> AlpmList<&str>
[src]
ⓘImportant traits for AlpmList<'a, T>
ⓘImportant traits for AlpmList<'a, T>pub fn overwrite_files(&self) -> AlpmList<&str>
[src]
ⓘImportant traits for AlpmList<'a, T>
ⓘImportant traits for AlpmList<'a, T>pub fn assume_installed(&self) -> AlpmList<Depend>
[src]
ⓘImportant traits for AlpmList<'a, T>
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]
&mut self,
list: I
) -> Result<()>
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]
&mut self,
list: I
) -> Result<()>
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]
&mut self,
list: I
) -> Result<()>
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]
&mut self,
list: I
) -> Result<()>
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]
&mut self,
list: I
) -> Result<()>
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]
&mut self,
list: I
) -> Result<()>
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]
&mut self,
list: I
) -> Result<()>
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]
&'a mut self,
list: I
) -> Result<()>
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]
ⓘImportant traits for AlpmList<'a, T>
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]
&'a self,
ident: S,
sig: &[u8]
) -> Result<AlpmList<'a, String>>
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]
ⓘImportant traits for AlpmList<'a, T>
&'a self,
dbs: AlpmList<Db>,
s: S
) -> AlpmList<'a, Package<'a>>
impl<'a> Alpm
[src]
Trait Implementations
Auto Trait Implementations
impl Unpin for Alpm
impl !Send for Alpm
impl !Sync for Alpm
impl UnwindSafe for Alpm
impl RefUnwindSafe for Alpm
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,