pub trait HasValueRef<'r> {
    type Database: Database;
    type ValueRef: ValueRef<'r>
    where
        <Self::ValueRef as 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

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

Implementors