pub enum EventType {
CapabilityRequested,
Destroyed,
Resolved,
Started,
Stopped,
DebugStarted,
Unresolved,
}
Variants§
CapabilityRequested
After a CapabilityProvider has been selected, the CapabilityRequested event is dispatched with the ServerEnd of the channel for the capability.
Destroyed
Destruction of an instance has begun. The instance may/may not be stopped by this point. The instance still exists in the parent’s realm but will soon be removed.
Resolved
An instance’s declaration was resolved successfully for the first time.
Started
An instance is about to be started.
Stopped
An instance was stopped successfully. This event must occur before Destroyed.
DebugStarted
Similar to the Started event, except the payload will carry an eventpair that the subscriber could use to defer the launch of the component.
Unresolved
A component instance was unresolved.
Implementations§
Trait Implementations§
source§impl PartialEq for EventType
impl PartialEq for EventType
impl Eq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnwindSafe for EventType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)