Skip to main content

TypeParser

Type Alias TypeParser 

Source
pub type TypeParser = Arc<dyn Fn(&str, i32) -> Value + Send + Sync>;
Expand description

Parser function used to convert textual Postgres values into richer Rust values. Mirrors the signature of the TypeScript parser callbacks.

Aliased Typeยง

pub struct TypeParser { /* private fields */ }