pub enum PluginHook {
PreInstall,
PostInstall,
PreRemove,
PostRemove,
PreUpdate,
PostUpdate,
Configure,
Verify,
}Expand description
Lifecycle hook points at which a plugin can execute.
Variants§
PreInstall
Invoked before a package is installed.
PostInstall
Invoked after a package is successfully installed.
PreRemove
Invoked before a package is removed.
PostRemove
Invoked after a package is successfully removed.
PreUpdate
Invoked before a package is updated.
PostUpdate
Invoked after a package is successfully updated.
Configure
Invoked when a package’s configuration is being applied.
Verify
Invoked to verify package integrity.
Implementations§
Source§impl PluginHook
impl PluginHook
Trait Implementations§
Source§impl Clone for PluginHook
impl Clone for PluginHook
Source§fn clone(&self) -> PluginHook
fn clone(&self) -> PluginHook
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PluginHook
impl Debug for PluginHook
Source§impl PartialEq for PluginHook
impl PartialEq for PluginHook
impl Copy for PluginHook
impl Eq for PluginHook
impl StructuralPartialEq for PluginHook
Auto Trait Implementations§
impl Freeze for PluginHook
impl RefUnwindSafe for PluginHook
impl Send for PluginHook
impl Sync for PluginHook
impl Unpin for PluginHook
impl UnwindSafe for PluginHook
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)