Trait tidb_query_datatype::codec::datum_codec::DatumPayloadEncoder [−][src]
An encoder to encode the payload part of a datum.
The types this encoder accepts are not fully 1:1 mapping to evaluable types.
Provided methods
fn write_datum_payload_i64(&mut self, v: i64) -> Result<()>
[src]
fn write_datum_payload_u64(&mut self, v: u64) -> Result<()>
[src]
fn write_datum_payload_var_i64(&mut self, v: i64) -> Result<()>
[src]
fn write_datum_payload_f64(&mut self, v: f64) -> Result<()>
[src]
fn write_datum_payload_decimal(
&mut self,
v: &Decimal,
prec: u8,
frac: u8
) -> Result<()>
[src]
&mut self,
v: &Decimal,
prec: u8,
frac: u8
) -> Result<()>