Trait fedimint_core::db::DatabaseRecord

source ·
pub trait DatabaseRecord: DatabaseKeyPrefix {
    type Key: DatabaseKey + Debug;
    type Value: DatabaseValue + Debug;

    const DB_PREFIX: u8;
    const NOTIFY_ON_MODIFY: bool = false;
}
Expand description

A key + value pair in the database with a unique prefix Extends DatabaseKeyPrefix to prepend the key’s prefix.

Required Associated Types§

Required Associated Constants§

Provided Associated Constants§

Object Safety§

This trait is not object safe.

Implementors§