pub trait Introspect {
// Required method
fn introspect() -> Type;
}
Expand description
A type that supports reflection. All types that can appear in a Cap’n Proto message implement this trait.
Required Methods§
Sourcefn introspect() -> Type
fn introspect() -> Type
Retrieves a description of the type.
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.