Skip to main content

Table

Trait Table 

Source
pub trait Table {
    type Key: Key;
    type Value: Value;

    const NAME: &'static str;
}
Expand description

A database table.

Required Associated Constants§

Source

const NAME: &'static str

The name of the table.

Required Associated Types§

Source

type Key: Key

The table’s key type.

Source

type Value: Value

The table’s value type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§