alpm_sys

Enum alpm_event_type_t

Source
#[repr(u32)]
pub enum alpm_event_type_t {
Show 37 variants ALPM_EVENT_CHECKDEPS_START = 1, ALPM_EVENT_CHECKDEPS_DONE = 2, ALPM_EVENT_FILECONFLICTS_START = 3, ALPM_EVENT_FILECONFLICTS_DONE = 4, ALPM_EVENT_RESOLVEDEPS_START = 5, ALPM_EVENT_RESOLVEDEPS_DONE = 6, ALPM_EVENT_INTERCONFLICTS_START = 7, ALPM_EVENT_INTERCONFLICTS_DONE = 8, ALPM_EVENT_TRANSACTION_START = 9, ALPM_EVENT_TRANSACTION_DONE = 10, ALPM_EVENT_PACKAGE_OPERATION_START = 11, ALPM_EVENT_PACKAGE_OPERATION_DONE = 12, ALPM_EVENT_INTEGRITY_START = 13, ALPM_EVENT_INTEGRITY_DONE = 14, ALPM_EVENT_LOAD_START = 15, ALPM_EVENT_LOAD_DONE = 16, ALPM_EVENT_SCRIPTLET_INFO = 17, ALPM_EVENT_DB_RETRIEVE_START = 18, ALPM_EVENT_DB_RETRIEVE_DONE = 19, ALPM_EVENT_DB_RETRIEVE_FAILED = 20, ALPM_EVENT_PKG_RETRIEVE_START = 21, ALPM_EVENT_PKG_RETRIEVE_DONE = 22, ALPM_EVENT_PKG_RETRIEVE_FAILED = 23, ALPM_EVENT_DISKSPACE_START = 24, ALPM_EVENT_DISKSPACE_DONE = 25, ALPM_EVENT_OPTDEP_REMOVAL = 26, ALPM_EVENT_DATABASE_MISSING = 27, ALPM_EVENT_KEYRING_START = 28, ALPM_EVENT_KEYRING_DONE = 29, ALPM_EVENT_KEY_DOWNLOAD_START = 30, ALPM_EVENT_KEY_DOWNLOAD_DONE = 31, ALPM_EVENT_PACNEW_CREATED = 32, ALPM_EVENT_PACSAVE_CREATED = 33, ALPM_EVENT_HOOK_START = 34, ALPM_EVENT_HOOK_DONE = 35, ALPM_EVENT_HOOK_RUN_START = 36, ALPM_EVENT_HOOK_RUN_DONE = 37,
}
Expand description

Type of events. Type of events.

Variants§

§

ALPM_EVENT_CHECKDEPS_START = 1

Dependencies will be computed for a package.

§

ALPM_EVENT_CHECKDEPS_DONE = 2

Dependencies were computed for a package.

§

ALPM_EVENT_FILECONFLICTS_START = 3

File conflicts will be computed for a package.

§

ALPM_EVENT_FILECONFLICTS_DONE = 4

File conflicts were computed for a package.

§

ALPM_EVENT_RESOLVEDEPS_START = 5

Dependencies will be resolved for target package.

§

ALPM_EVENT_RESOLVEDEPS_DONE = 6

Dependencies were resolved for target package.

§

ALPM_EVENT_INTERCONFLICTS_START = 7

Inter-conflicts will be checked for target package.

§

ALPM_EVENT_INTERCONFLICTS_DONE = 8

Inter-conflicts were checked for target package.

§

ALPM_EVENT_TRANSACTION_START = 9

Processing the package transaction is starting.

§

ALPM_EVENT_TRANSACTION_DONE = 10

Processing the package transaction is finished.

§

ALPM_EVENT_PACKAGE_OPERATION_START = 11

Package will be installed/upgraded/downgraded/re-installed/removed; See alpm_event_package_operation_t for arguments.

§

ALPM_EVENT_PACKAGE_OPERATION_DONE = 12

Package was installed/upgraded/downgraded/re-installed/removed; See alpm_event_package_operation_t for arguments.

§

ALPM_EVENT_INTEGRITY_START = 13

Target package’s integrity will be checked.

§

ALPM_EVENT_INTEGRITY_DONE = 14

Target package’s integrity was checked.

§

ALPM_EVENT_LOAD_START = 15

Target package will be loaded.

§

ALPM_EVENT_LOAD_DONE = 16

Target package is finished loading.

§

ALPM_EVENT_SCRIPTLET_INFO = 17

Scriptlet has printed information; See alpm_event_scriptlet_info_t for arguments.

§

ALPM_EVENT_DB_RETRIEVE_START = 18

Database files will be downloaded from a repository.

§

ALPM_EVENT_DB_RETRIEVE_DONE = 19

Database files were downloaded from a repository.

§

ALPM_EVENT_DB_RETRIEVE_FAILED = 20

Not all database files were successfully downloaded from a repository.

§

ALPM_EVENT_PKG_RETRIEVE_START = 21

Package files will be downloaded from a repository.

§

ALPM_EVENT_PKG_RETRIEVE_DONE = 22

Package files were downloaded from a repository.

§

ALPM_EVENT_PKG_RETRIEVE_FAILED = 23

Not all package files were successfully downloaded from a repository.

§

ALPM_EVENT_DISKSPACE_START = 24

Disk space usage will be computed for a package.

§

ALPM_EVENT_DISKSPACE_DONE = 25

Disk space usage was computed for a package.

§

ALPM_EVENT_OPTDEP_REMOVAL = 26

An optdepend for another package is being removed; See alpm_event_optdep_removal_t for arguments.

§

ALPM_EVENT_DATABASE_MISSING = 27

A configured repository database is missing; See alpm_event_database_missing_t for arguments.

§

ALPM_EVENT_KEYRING_START = 28

Checking keys used to create signatures are in keyring.

§

ALPM_EVENT_KEYRING_DONE = 29

Keyring checking is finished.

§

ALPM_EVENT_KEY_DOWNLOAD_START = 30

Downloading missing keys into keyring.

§

ALPM_EVENT_KEY_DOWNLOAD_DONE = 31

Key downloading is finished.

§

ALPM_EVENT_PACNEW_CREATED = 32

A .pacnew file was created; See alpm_event_pacnew_created_t for arguments.

§

ALPM_EVENT_PACSAVE_CREATED = 33

A .pacsave file was created; See alpm_event_pacsave_created_t for arguments.

§

ALPM_EVENT_HOOK_START = 34

Processing hooks will be started.

§

ALPM_EVENT_HOOK_DONE = 35

Processing hooks is finished.

§

ALPM_EVENT_HOOK_RUN_START = 36

A hook is starting

§

ALPM_EVENT_HOOK_RUN_DONE = 37

A hook has finished running.

Trait Implementations§

Source§

impl Clone for _alpm_event_type_t

Source§

fn clone(&self) -> _alpm_event_type_t

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _alpm_event_type_t

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for _alpm_event_type_t

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for _alpm_event_type_t

Source§

fn eq(&self, other: &_alpm_event_type_t) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for _alpm_event_type_t

Source§

impl Eq for _alpm_event_type_t

Source§

impl StructuralPartialEq for _alpm_event_type_t

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.