Skip to main content

Module handle_codec

Module handle_codec 

Source
Expand description

Postgres-side thin wrapper over ff_core::handle_codec.

RFC-v0.7 Wave 1c scaffold. Mirrors ff_backend_valkey::handle_codec so the Postgres trait impls (Waves 4+) have a symmetric encode/decode path and so the workspace has compile-time evidence that the core codec is backend-agnostic.

At Wave 1c the Postgres backend still returns Unavailable for every trait method that touches a Handle, so the bodies here are unused by the live hot path today — they exist to lock in the backend-tag invariant (a Postgres backend never accepts a Valkey-tagged handle) and to give Wave 4 a ready-to-use API.