pub enum ComponentControllerEvent {
OnPublishDiagnostics {
payload: ComponentDiagnostics,
},
OnEscrow {
payload: ComponentControllerOnEscrowRequest,
},
OnStop {
payload: ComponentStopInfo,
},
_UnknownEvent {
ordinal: u64,
},
}
Variants§
OnPublishDiagnostics
Fields
§
payload: ComponentDiagnostics
OnEscrow
Fields
§
payload: ComponentControllerOnEscrowRequest
OnStop
Fields
§
payload: ComponentStopInfo
_UnknownEvent
Implementations§
Source§impl ComponentControllerEvent
impl ComponentControllerEvent
pub fn into_on_publish_diagnostics(self) -> Option<ComponentDiagnostics>
pub fn into_on_escrow(self) -> Option<ComponentControllerOnEscrowRequest>
pub fn into_on_stop(self) -> Option<ComponentStopInfo>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ComponentControllerEvent
impl RefUnwindSafe for ComponentControllerEvent
impl Send for ComponentControllerEvent
impl Sync for ComponentControllerEvent
impl Unpin for ComponentControllerEvent
impl UnwindSafe for ComponentControllerEvent
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