Type Alias alpm_sys::alpm_question_t
source · pub type alpm_question_t = _alpm_question_t;Expand description
Questions. This is an union passed to the callback that allows the frontend to know which type of question was triggered (via type). It is then possible to typecast the pointer to the right structure, or use the union field, in order to access question-specific data.
Aliased Type§
union alpm_question_t {
pub type_: u32,
pub any: _alpm_question_any_t,
pub install_ignorepkg: _alpm_question_install_ignorepkg_t,
pub replace: _alpm_question_replace_t,
pub conflict: _alpm_question_conflict_t,
pub corrupted: _alpm_question_corrupted_t,
pub remove_pkgs: _alpm_question_remove_pkgs_t,
pub select_provider: _alpm_question_select_provider_t,
pub import_key: _alpm_question_import_key_t,
}Fields§
§type_: u32The type of question. It’s always safe to access this.
any: _alpm_question_any_tA question that can represent any question. It’s always safe to access this.
install_ignorepkg: _alpm_question_install_ignorepkg_tShould target in ignorepkg be installed anyway?
replace: _alpm_question_replace_tShould a package be replaced?
conflict: _alpm_question_conflict_tShould a conflicting package be removed?
corrupted: _alpm_question_corrupted_tShould a corrupted package be deleted?
remove_pkgs: _alpm_question_remove_pkgs_tShould unresolvable targets be removed from the transaction?
select_provider: _alpm_question_select_provider_tProvider selection
import_key: _alpm_question_import_key_tShould a key be imported?