macro_rules! register_type {
($type:ty) => { ... };
}Expand description
Register a (concrete) type so that it may be looked up by name or hash. Type registration is required only to improve diagnostics, as it allows a binary to introspect serialized payloads under type erasure.
The provided type must implement typeuri::Named, and must be concrete.