Trait sqlx_core::database::HasValueRef

source ·
pub trait HasValueRef<'r> {
    type Database: Database;
    type ValueRef: ValueRef<'r, Database = Self::Database>;
}
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.

Required Associated Types§

source

type Database: Database

source

type ValueRef: ValueRef<'r, Database = Self::Database>

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

Implementors§