Struct alpm::Alpm [−][src]
pub struct Alpm { /* fields omitted */ }
Implementations
impl Alpm
[src]
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 set_log_cb<T: 'static, F: FnMut(LogLevel, &str, &mut T) + 'static>(
&self,
data: T,
f: F
)
[src]
&self,
data: T,
f: F
)
pub fn set_dl_cb<T: 'static, F: FnMut(&str, AnyDownloadEvent<'_>, &mut T) + 'static>(
&self,
data: T,
f: F
)
[src]
&self,
data: T,
f: F
)
pub fn set_event_cb<T: 'static, F: FnMut(AnyEvent<'_>, &mut T) + 'static>(
&self,
data: T,
f: F
)
[src]
&self,
data: T,
f: F
)
pub fn set_progress_cb<T: 'static, F: FnMut(Progress, &str, i32, usize, usize, &mut T) + 'static>(
&self,
data: T,
f: F
)
[src]
&self,
data: T,
f: F
)
pub fn set_question_cb<T: 'static, F: FnMut(AnyQuestion<'_>, &mut T) + 'static>(
&self,
data: T,
f: F
)
[src]
&self,
data: T,
f: F
)
pub fn set_fetch_cb<T: 'static, F: FnMut(&str, &str, bool, &mut T) -> FetchResult + 'static>(
&self,
data: T,
f: F
)
[src]
&self,
data: T,
f: F
)
pub fn take_raw_log_cb(&self) -> RawLogCb
[src]
pub fn set_raw_log_cb(&self, cb: RawLogCb)
[src]
pub fn take_raw_dl_cb(&self) -> RawDlCb
[src]
pub fn set_raw_dl_cb(&self, cb: RawDlCb)
[src]
pub fn take_raw_event_cb(&self) -> RawEventCb
[src]
pub fn set_raw_event_cb(&self, cb: RawEventCb)
[src]
pub fn take_raw_progress_cb(&self) -> RawProgressCb
[src]
pub fn set_raw_progress_cb(&self, cb: RawProgressCb)
[src]
pub fn take_raw_question_cb(&self) -> RawQuestionCb
[src]
pub fn set_raw_question_cb(&self, cb: RawQuestionCb)
[src]
pub fn take_raw_fetch_cb(&self) -> RawFetchCb
[src]
pub fn set_raw_fetch_cb(&self, cb: RawFetchCb)
[src]
impl Alpm
[src]
impl Alpm
[src]pub fn check_conflicts<'a, P: 'a + AsPkg + AsAlpmListItemPtr<'a>, L: IntoRawAlpmList<'a, P>>(
&self,
list: L
) -> AlpmListMut<'_, OwnedConflict>
[src]
&self,
list: L
) -> AlpmListMut<'_, OwnedConflict>
impl Alpm
[src]
impl Alpm
[src]pub fn check_deps<'a>(
&self,
pkgs: impl IntoRawAlpmList<'a, Package<'a>>,
rem: impl IntoRawAlpmList<'a, Package<'a>>,
upgrade: impl IntoRawAlpmList<'a, Package<'a>>,
reverse_deps: bool
) -> AlpmListMut<'_, DependMissing>
[src]
&self,
pkgs: impl IntoRawAlpmList<'a, Package<'a>>,
rem: impl IntoRawAlpmList<'a, Package<'a>>,
upgrade: impl IntoRawAlpmList<'a, Package<'a>>,
reverse_deps: bool
) -> AlpmListMut<'_, DependMissing>
impl Alpm
[src]
impl Alpm
[src]pub fn fetch_pkgurl<'a, L: IntoRawAlpmList<'a, String>>(
&'a self,
urls: L
) -> Result<AlpmListMut<'a, String>>
[src]
&'a self,
urls: L
) -> Result<AlpmListMut<'a, String>>
impl Alpm
[src]
impl Alpm
[src]pub fn last_error(&self) -> Error
[src]
impl Alpm
[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 architectures(&self) -> AlpmList<'_, &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: IntoRawAlpmList<'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: IntoRawAlpmList<'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: IntoRawAlpmList<'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: IntoRawAlpmList<'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: IntoRawAlpmList<'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: IntoRawAlpmList<'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: IntoRawAlpmList<'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(&mut self, s: &Dep<'_>) -> Result<()>
[src]
pub fn set_assume_installed<'a, T: IntoRawAlpmList<'a, Dep<'a>>>(
&'a mut self,
list: T
) -> Result<()>
[src]
&'a mut self,
list: T
) -> Result<()>
pub fn remove_assume_installed<D: AsDep>(&mut self, s: D) -> Result<bool>
[src]
pub fn add_architecture<S: Into<Vec<u8>>>(&mut self, s: S) -> Result<()>
[src]
pub fn set_architectures<'a, T: IntoRawAlpmList<'a, String>>(
&'a mut self,
list: T
) -> Result<()>
[src]
&'a mut self,
list: T
) -> Result<()>
pub fn remove_architecture<S: Into<Vec<u8>>>(&mut self, s: S) -> Result<bool>
[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 set_parallel_downloads(&self, n: u32)
[src]
impl Alpm
[src]
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]
impl Alpm
[src]