pub trait RecFamily: 'static {
type Rec<'buf>: Send;
}Expand description
Maps a payload-buffer lifetime to the deserialized record type.
The family tag itself is 'static — it is a type-level function, never
instantiated — which is what keeps chains nameable and Send while the
records they process borrow ephemeral buffers.
Required Associated Types§
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.