Skip to main content

Module policy

Module policy 

Source
Expand description

TypePolicy — strict / warn / allow decisions for unsafe type mappings.

Roadmap §7 (“TypePolicy”). A TypePolicy is created from config or CLI flags (e.g. --strict) and applied to the Vec<TypeMapping> that the driver computes before the first row is read. Violations are collected rather than raised immediately so the caller can print all problems at once.

Structs§

PolicyViolation
One policy violation produced by TypePolicy::validate.
TypePolicy
Per-export type-safety policy (roadmap §7).

Enums§

PolicyAction
What to do when a mapping is classified as lossy or unsupported.