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§
Required Associated Types§
Provided Methods§
fn constructors() -> MetaType
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.