diesel::connection

Trait WithMetadataLookup

Source
pub trait WithMetadataLookup: Connection {
    // Required method
    fn metadata_lookup(
        &mut self,
    ) -> &mut <Self::Backend as TypeMetadata>::MetadataLookup;
}
Available on non-crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
Expand description

Describes a connection with an underlying crate::sql_types::TypeMetadata::MetadataLookup

Required Methods§

Source

fn metadata_lookup( &mut self, ) -> &mut <Self::Backend as TypeMetadata>::MetadataLookup

Retrieves the underlying metadata lookup

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl WithMetadataLookup for SqliteConnection

Available on crate feature sqlite only.