mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: add DUPSORT trait const (#12477)
This commit is contained in:
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user