[−][src]Union alpm_sys_fork::_alpm_event_t
Events. This is an union passed to the callback, that allows the frontend to know which type of event 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 event-specific data.
Fields
type_: alpm_event_type_t
any: alpm_event_any_t
package_operation: alpm_event_package_operation_t
optdep_removal: alpm_event_optdep_removal_t
delta_patch: alpm_event_delta_patch_t
scriptlet_info: alpm_event_scriptlet_info_t
database_missing: alpm_event_database_missing_t
pkgdownload: alpm_event_pkgdownload_t
pacnew_created: alpm_event_pacnew_created_t
pacsave_created: alpm_event_pacsave_created_t
hook: alpm_event_hook_t
hook_run: alpm_event_hook_run_t
Trait Implementations
impl Clone for _alpm_event_t
[src]
fn clone(&self) -> _alpm_event_t
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for _alpm_event_t
[src]
Auto Trait Implementations
impl !Send for _alpm_event_t
impl Unpin for _alpm_event_t
impl !Sync for _alpm_event_t
impl UnwindSafe for _alpm_event_t
impl RefUnwindSafe for _alpm_event_t
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,