Skip to main content

Module project

Module project 

Source
Expand description

ConversationProjector trait and AnyProjector type-erasing wrapper.

A projector is the “serialize” half of a serde-like pattern for conversation portability — the inverse of ConversationProvider. Where a provider reads provider-specific data and produces a ConversationView, a projector consumes a ConversationView and produces some output type.

Structs§

AnyProjector
A type-erased ConversationProjector for dynamic dispatch.

Traits§

ConversationProjector
Convert a ConversationView into an output type.