Trait overclock::core::ServiceEvent
source · [−]pub trait ServiceEvent<T>: Send + 'static {
fn report_event(scope: ScopeId, service: Service) -> Self;
fn eol_event(
scope: ScopeId,
service: Service,
actor: T,
r: ActorResult<()>
) -> Self;
}
Expand description
Ideally it should be implemented using proc_macro on the event type
Required Methods
fn report_event(scope: ScopeId, service: Service) -> Self
fn report_event(scope: ScopeId, service: Service) -> Self
Creates report event that will be pushed as status change from the Child: T