Trait tidb_query_datatype::codec::convert::ConvertFrom[][src]

pub trait ConvertFrom<T>: Sized {
    fn convert_from(ctx: &mut EvalContext, from: T) -> Result<Self>;
}

Required methods

fn convert_from(ctx: &mut EvalContext, from: T) -> Result<Self>[src][]

Converts the given value from T value

Implementors

impl<V, W: ConvertTo<V>> ConvertFrom<W> for V[src][+]