Trait sqlx::database::HasValueRef[][src]

pub trait HasValueRef<'r> {
    type Database: Database;
    type ValueRef: ValueRef<'r>;
}
Expand description

Associate Database with a ValueRef of a generic lifetime.


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

Associated Types

type Database: Database[src]

type ValueRef: ValueRef<'r>[src]

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

Implementors

impl<'r> HasValueRef<'r> for Any[src]

type Database = Any

type ValueRef = AnyValueRef<'r>

impl<'r> HasValueRef<'r> for Mssql[src]

impl<'r> HasValueRef<'r> for MySql[src]

impl<'r> HasValueRef<'r> for Postgres[src]

impl<'r> HasValueRef<'r> for Sqlite[src]