Skip to main content

EffectHandler

Trait EffectHandler 

Source
pub trait EffectHandler<E>:
    Send
    + Sync
    + 'static
where E: ?Sized + Effect, Self: HandlerDefinition<E>,
{ }
Expand description

Marker trait for concrete handlers of one effect vocabulary.

Implementors§

Source§

impl<T, E> EffectHandler<E> for T
where T: ?Sized + Send + Sync + 'static + HandlerDefinition<E>, E: ?Sized + Effect,