Trait Reactor
pub trait Reactor: Future<Output = ()> {
type Scope: ReactorScoped;
// Required method
fn create(scope: Self::Scope) -> Self;
}
Expand description
A reactor worker.
Required Associated Types§
type Scope: ReactorScoped
type Scope: ReactorScoped
The Reactor Scope
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.