pub trait Table: 'static {
type Key: Key + 'static;
type Value: Storable + 'static;
const NAME: &'static str;
}
Expand description
Database table metadata.
Purely compile time information for database tables.
See crate::define_tables
for bulk table generation.
Required Associated Constants§
Required Associated Types§
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.