[][src]Trait sqlx_core::database::HasRawValue

pub trait HasRawValue<'c> {
    type RawValue;
}

Associate Database with a RawValue of a generic lifetime.


The upcoming Rust feature, Generic Associated Types, should obviate the need for this trait.

Associated Types

type RawValue

The Rust type used to hold a not-yet-decoded value that has just been received from the database.

For example, Postgres and MySQL use &'c [u8]; however, SQLite uses SqliteValue<'c>.

Loading content...

Implementors

Loading content...