Skip to main content

WorkerEvent

Trait WorkerEvent 

Source
pub trait WorkerEvent<A: Address>: Sized {
    // Required method
    fn worker_stopped(event: WorkerStopped<A>) -> Option<Self>;
}
Expand description

Construction of the worker-report lane through a composed event type.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<A: Address, M> WorkerEvent<A> for User<A, M>

Source§

impl<E, A: Address> WorkerEvent<A> for SupervisionEvent<E, A>

Source§

impl<E: WorkerEvent<A>, A: Address> WorkerEvent<A> for AtEvent<E>

Source§

impl<E: WorkerEvent<A>, A: Address> WorkerEvent<A> for WatchEvent<E, A>