pub trait Reactor: Future<Output = ()> {
    type Scope: ReactorScoped;

    // Required method
    fn create(scope: Self::Scope) -> Self;
}
Expand description

A reactor worker.

Required Associated Types§

source

type Scope: ReactorScoped

The Reactor Scope

Required Methods§

source

fn create(scope: Self::Scope) -> Self

Creates a reactor worker.

Implementors§