Trait ProgramMeta

Source
pub trait ProgramMeta {
    type ConstructorsMeta: StaticTypeInfo;

    const SERVICES: &'static [(&'static str, AnyServiceMetaFn)];
    const ASYNC: bool;

    // Provided methods
    fn constructors() -> MetaType { ... }
    fn services() -> impl Iterator<Item = (&'static str, AnyServiceMeta)> { ... }
}

Required Associated Constants§

Source

const SERVICES: &'static [(&'static str, AnyServiceMetaFn)]

Source

const ASYNC: bool

Required Associated Types§

Provided Methods§

Source

fn constructors() -> MetaType

Source

fn services() -> impl Iterator<Item = (&'static str, AnyServiceMeta)>

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.

Implementors§