chore: add DUPSORT trait const (#12477)

This commit is contained in:
Matthias Seitz
2024-11-12 18:19:06 +01:00
committed by GitHub
parent e6a6fc4c2e
commit 4a8eb7a0c0
3 changed files with 6 additions and 0 deletions

View File

@ -88,6 +88,9 @@ pub trait Table: Send + Sync + Debug + 'static {
/// The table's name.
const NAME: &'static str;
/// Whether the table is also a `DUPSORT` table.
const DUPSORT: bool;
/// Key element of `Table`.
///
/// Sorting should be taken into account when encoding this.