Trait capnp::introspect::Introspect
source · 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.
Object Safety§
This trait is not object safe.