[−][src]Struct alpm::Alpm
Implementations
impl Alpm
[src]
pub fn trans_add_pkg<P: IntoPkgAdd>(&self, pkg: P) -> Result<(), AddError<P>>
[src]
impl Alpm
[src]
impl Alpm
[src]
pub fn pkg_load<S: Into<Vec<u8>>>(
&self,
filename: S,
full: bool,
level: SigLevel
) -> Result<LoadedPackage<'_>>
[src]
&self,
filename: S,
full: bool,
level: SigLevel
) -> Result<LoadedPackage<'_>>
impl Alpm
[src]
pub fn check_conflicts<'a, L: AsRawAlpmList<'a, Package<'a>>>(
&self,
list: L
) -> AlpmListMut<'_, OwnedConflict>
[src]
&self,
list: L
) -> AlpmListMut<'_, OwnedConflict>
impl Alpm
[src]
pub fn register_syncdb<S: Into<Vec<u8>>>(
&self,
name: S,
sig_level: SigLevel
) -> Result<Db<'_>>
[src]
&self,
name: S,
sig_level: SigLevel
) -> Result<Db<'_>>
pub fn register_syncdb_mut<S: Into<Vec<u8>>>(
&mut self,
name: S,
sig_level: SigLevel
) -> Result<DbMut<'_>>
[src]
&mut self,
name: S,
sig_level: SigLevel
) -> Result<DbMut<'_>>
pub fn unregister_all_syncdbs(&mut self) -> Result<()>
[src]
impl Alpm
[src]
pub fn check_deps<'a>(
&self,
pkgs: impl AsRawAlpmList<'a, Package<'a>>,
rem: impl AsRawAlpmList<'a, Package<'a>>,
upgrade: impl AsRawAlpmList<'a, Package<'a>>,
reverse_deps: bool
) -> AlpmListMut<'_, DependMissing>
[src]
&self,
pkgs: impl AsRawAlpmList<'a, Package<'a>>,
rem: impl AsRawAlpmList<'a, Package<'a>>,
upgrade: impl AsRawAlpmList<'a, Package<'a>>,
reverse_deps: bool
) -> AlpmListMut<'_, DependMissing>
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]
pub fn hookdirs(&self) -> AlpmList<'_, &str>
[src]
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]
pub fn noupgrades(&self) -> AlpmList<'_, &str>
[src]
pub fn noextracts(&self) -> AlpmList<'_, &str>
[src]
pub fn ignorepkgs(&self) -> AlpmList<'_, &str>
[src]
pub fn ignoregroups(&self) -> AlpmList<'_, &str>
[src]
pub fn overwrite_files(&self) -> AlpmList<'_, &str>
[src]
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<Vec<u8>>>(&mut self, s: S) -> Result<()>
[src]
pub fn set_hookdirs<'a, T: AsRawAlpmList<'a, String>>(
&'a mut self,
list: T
) -> Result<()>
[src]
&'a mut self,
list: T
) -> Result<()>
pub fn remove_hookdir<S: Into<Vec<u8>>>(&mut self, s: S) -> Result<bool>
[src]
pub fn add_cachedir<S: Into<Vec<u8>>>(&mut self, s: S) -> Result<()>
[src]
pub fn set_cachedirs<'a, T: AsRawAlpmList<'a, String>>(
&'a mut self,
list: T
) -> Result<()>
[src]
&'a mut self,
list: T
) -> Result<()>
pub fn remove_cachedir<S: Into<Vec<u8>>>(&mut self, s: S) -> Result<bool>
[src]
pub fn set_logfile<S: Into<Vec<u8>>>(&self, s: S) -> Result<()>
[src]
pub fn set_gpgdir<S: Into<Vec<u8>>>(&self, s: S) -> Result<()>
[src]
pub fn set_use_syslog(&self, b: bool)
[src]
pub fn add_noupgrade<S: Into<Vec<u8>>>(&mut self, s: S) -> Result<()>
[src]
pub fn set_noupgrades<'a, T: AsRawAlpmList<'a, String>>(
&'a mut self,
list: T
) -> Result<()>
[src]
&'a mut self,
list: T
) -> Result<()>
pub fn remove_noupgrade<S: Into<Vec<u8>>>(&mut self, s: S) -> Result<bool>
[src]
pub fn match_noupgrade<S: Into<Vec<u8>>>(&mut self, s: S) -> Match
[src]
pub fn add_noextract<S: Into<Vec<u8>>>(&mut self, s: S) -> Result<()>
[src]
pub fn set_noextracts<'a, T: AsRawAlpmList<'a, String>>(
&'a mut self,
list: T
) -> Result<()>
[src]
&'a mut self,
list: T
) -> Result<()>
pub fn remove_noextract<S: Into<Vec<u8>>>(&mut self, s: S) -> Result<bool>
[src]
pub fn match_noextract<S: Into<Vec<u8>>>(&mut self, s: S) -> Match
[src]
pub fn add_ignorepkg<S: Into<Vec<u8>>>(&mut self, s: S) -> Result<()>
[src]
pub fn set_ignorepkgs<'a, T: AsRawAlpmList<'a, String>>(
&mut self,
list: T
) -> Result<()>
[src]
&mut self,
list: T
) -> Result<()>
pub fn remove_ignorepkg<S: Into<Vec<u8>>>(&mut self, s: S) -> Result<bool>
[src]
pub fn add_ignoregroup<S: Into<Vec<u8>>>(&mut self, s: S) -> Result<()>
[src]
pub fn set_ignoregroups<'a, T: AsRawAlpmList<'a, String>>(
&'a mut self,
list: T
) -> Result<()>
[src]
&'a mut self,
list: T
) -> Result<()>
pub fn remove_ignoregroup<S: Into<Vec<u8>>>(&mut self, s: S) -> Result<bool>
[src]
pub fn add_overwrite_file<S: Into<Vec<u8>>>(&mut self, s: S) -> Result<()>
[src]
pub fn set_overwrite_files<'a, T: AsRawAlpmList<'a, String>>(
&'a mut self,
list: T
) -> Result<()>
[src]
&'a mut self,
list: T
) -> Result<()>
pub fn remove_overwrite_file<S: Into<Vec<u8>>>(&mut self, s: S) -> Result<bool>
[src]
pub fn add_assume_installed<'a, D: AsRef<Dep<'a>>>(
&mut self,
s: D
) -> Result<()>
[src]
&mut self,
s: D
) -> Result<()>
pub fn remove_assume_installed<'a, D: AsRef<Dep<'a>>>(
&mut self,
s: D
) -> Result<bool>
[src]
&mut self,
s: D
) -> Result<bool>
pub fn set_arch<S: Into<Vec<u8>>>(&self, s: S)
[src]
pub fn localdb(&self) -> Db<'_>
[src]
pub fn syncdbs(&self) -> AlpmList<'_, Db<'_>>
[src]
pub fn syncdbs_mut(&mut self) -> AlpmList<'_, DbMut<'_>>
[src]
pub fn set_check_space(&self, b: bool)
[src]
pub fn set_dbext<S: Into<Vec<u8>>>(&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]
pub fn log_cb(&self) -> LogCb<'_>
[src]
pub fn dl_cb(&self) -> DownloadCb<'_>
[src]
pub fn fetch_cb(&self) -> FetchCb<'_>
[src]
pub fn totaldl_cb(&self) -> TotalDownloadCb<'_>
[src]
pub fn event_cb(&self) -> EventCb<'_>
[src]
pub fn question_cb(&self) -> QuestionCb<'_>
[src]
pub fn progress_cb(&self) -> ProgressCb<'_>
[src]
pub fn set_log_cb(&self, cb: LogCb<'_>)
[src]
pub fn set_dl_cb(&self, cb: DownloadCb<'_>)
[src]
pub fn set_fetch_cb(&self, cb: FetchCb<'_>)
[src]
pub fn set_totaldl_cb(&self, cb: TotalDownloadCb<'_>)
[src]
pub fn set_event_cb(&self, cb: EventCb<'_>)
[src]
pub fn set_question_cb(&self, cb: QuestionCb<'_>)
[src]
pub fn set_progress_cb(&self, cb: ProgressCb<'_>)
[src]
impl Alpm
[src]
pub fn trans_remove_pkg(&self, pkg: Package<'_>) -> Result<()>
[src]
impl Alpm
[src]
pub fn extract_keyid<'a, S: Into<Vec<u8>>>(
&'a self,
ident: S,
sig: &[u8]
) -> Result<AlpmListMut<'a, String>>
[src]
&'a self,
ident: S,
sig: &[u8]
) -> Result<AlpmListMut<'a, String>>
impl Alpm
[src]
pub fn find_group_pkgs<'a, S: Into<Vec<u8>>>(
&'a self,
dbs: AlpmList<'_, Db<'_>>,
s: S
) -> AlpmListMut<'a, Package<'a>>
[src]
&'a self,
dbs: AlpmList<'_, Db<'_>>,
s: S
) -> AlpmListMut<'a, Package<'a>>
impl Alpm
[src]
pub fn sync_sysupgrade(&self, enable_downgrade: bool) -> Result<()>
[src]
impl Alpm
[src]
pub fn trans_flags(self) -> TransFlag
[src]
pub fn trans_prepare(&mut self) -> Result<(), (PrepareReturn<'_>, Error)>
[src]
pub fn trans_commit(&mut self) -> Result<(), (CommitReturn<'_>, Error)>
[src]
pub fn trans_interrupt(&mut self) -> Result<()>
[src]
pub fn trans_add(&self) -> AlpmList<'_, Package<'_>>
[src]
pub fn trans_remove(&self) -> AlpmList<'_, Package<'_>>
[src]
pub fn trans_release(&mut self) -> Result<()>
[src]
impl Alpm
[src]
pub fn trans_init(&self, flags: TransFlag) -> Result<()>
[src]
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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.
pub 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>,