Trait tidb_query_datatype::codec::datum::DatumEncoder[][src]

pub trait DatumEncoder: DecimalEncoder + JsonEncoder + CompactByteEncoder + MemComparableByteEncoder {
    fn write_datum(
        &mut self,
        ctx: &mut EvalContext,
        values: &[Datum],
        comparable: bool
    ) -> Result<()> { ... } }

DatumEncoder encodes the datum.

Provided methods

fn write_datum(
    &mut self,
    ctx: &mut EvalContext,
    values: &[Datum],
    comparable: bool
) -> Result<()>
[src]

Encode values to buf slice.

Loading content...

Implementors

impl<T: BufferWriter> DatumEncoder for T[src]

Loading content...