Skip to main content

Decoder

Type Alias Decoder 

Source
pub type Decoder<T> = fn(&Row, &str) -> Result<T, FieldError>;
Expand description

Reads a column value as a field (with the field’s cast, if any).