Skip to main content

Record

Trait Record 

Source
pub trait Record: Encode<()> + for<'b> Decode<'b, ()> {
    type Key: RecordKey;

    const FAMILY: Family;
}
Expand description

A typed record stored in the cache database.

Required Associated Constants§

Source

const FAMILY: Family

The family of this record type.

Required Associated Types§

Source

type Key: RecordKey

The key of a record of this type.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§