pub fn rerank_codec_from_bytes(
name: CodecName,
bytes: &[u8],
) -> Result<Arc<dyn RerankCodec>, RerankError>Expand description
Reconstruct a RerankCodec from its byte form. The name tag tells us
which wrapper to dispatch into; the bytes are the codec’s own format.