Skip to main content

Module registry

Module registry 

Source
Expand description

Runtime type and error registries for resolving shapes by ShapeId.

Structs§

ComposedRegistry
Two TypeRegistry references layered for lookup, produced by TypeRegistry::or.
Iter
Iterator over the entries of a TypeRegistry. Returned by TypeRegistry::iter.
RegistryEntry
A single entry in a TypeRegistry, pairing a shape’s Schema with a DeserializeFn that constructs the typed value.
TypeRegistry
A runtime mapping of ShapeId to RegistryEntry.
TypeRegistryBuilder
Builder for TypeRegistry.

Functions§

reify_error
Reify an error response body into a boxed dyn std::error::Error, scoped to an operation and then widened to the service.

Type Aliases§

DeserializeFn
Type-erased deserialize function.
ErrorDeserializeFn
Error-typed deserialize function.