Skip to main content

Served

Trait Served 

Source
pub trait Served: Sealed + 'static {
    const SERVED: Option<EffectFamily>;
}
Expand description

Sealed handler-family declaration. Typed families expose Some(F::FAMILY); family::Dynamic exposes None and requires runtime family checks.

Required Associated Constants§

Source

const SERVED: Option<EffectFamily>

The family, when the handler has one.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§