pub enum LifecycleEvent {
Create {
role: CanisterRole,
parent: Principal,
extra_arg: Option<Vec<u8>>,
},
Delete {
pid: Principal,
},
Upgrade {
pid: Principal,
},
Reinstall {
pid: Principal,
},
AdoptPool {
pid: Principal,
parent: Principal,
extra_arg: Option<Vec<u8>>,
},
RecycleToPool {
pid: Principal,
},
}Variants§
Create
Delete
Upgrade
Reinstall
AdoptPool
Adopt a pool canister into topology under parent.
Pool export is a handoff; this event performs the attach + install.
RecycleToPool
Auto Trait Implementations§
impl Freeze for LifecycleEvent
impl RefUnwindSafe for LifecycleEvent
impl Send for LifecycleEvent
impl Sync for LifecycleEvent
impl Unpin for LifecycleEvent
impl UnwindSafe for LifecycleEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more