Skip to main content

Key

Trait Key 

Source
pub trait Key:
    AsDatabaseBytes
    + FromDatabaseBytes
    + Ord
    + 'static { }
Expand description

A key in a database table.

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<T: AsDatabaseBytes + FromDatabaseBytes + Ord + 'static> Key for T