Skip to main content

derive_fidelity

Function derive_fidelity 

Source
pub fn derive_fidelity(t: &RivetType) -> TypeFidelity
Expand description

Compute the TypeFidelity for a freshly-resolved RivetType.

The output of every vendor mapper goes through this so the fidelity label is computed in exactly one place and the type-report stays consistent across PostgreSQL / MySQL / future drivers.