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

pub trait HasValueRef<'r> where
    <Self::ValueRef as ValueRef<'r>>::Database == Self::Database
{ type Database: Database; type ValueRef: ValueRef<'r>; }

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

type ValueRef: ValueRef<'r>

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

Loading content...

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]

Loading content...