pub trait ConvIr<T>: Sized {
    fn new(v: Value) -> Result<Self, FromValueError>;
    fn commit(self) -> T;
    fn rollback(self) -> Value;
}
Expand description

Basic operations on FromValue conversion intermediate result.

See FromValue

Required Methods

Implementations on Foreign Types

Implementors

Converts a MySQL DATE value to a time03::Date.

Converts a MySQL TIME value to a time03::Time. Note: time03::Time only allows for time values in the 00:00:00 - 23:59:59 range. If you’re expecting TIME values in MySQL’s TIME value range of -838:59:59 - 838:59:59, use time03::Duration instead.