reth_db

Macro tables

Source
macro_rules! tables {
    (@bool) => { ... };
    (@bool $($t:tt)+) => { ... };
    (@view $name:ident $v:ident) => { ... };
    (@view $name:ident $v:ident $_subkey:ty) => { ... };
    (@value_doc $key:ty, $value:ty) => { ... };
    (@value_doc $key:ty, $value:ty, $($generic:ident),*) => { ... };
    ($($(#[$attr:meta])* table $name:ident$(<$($generic:ident $(= $default:ty)?),*>)? { type Key = $key:ty; type Value = $value:ty; $(type SubKey = $subkey:ty;)? } )*) => { ... };
}
Expand description

Defines all the tables in the database.