risingwave_common

Macro for_all_params

source
macro_rules! for_all_params {
    ($macro:ident) => { ... };
}
Expand description

Define all system parameters here.

To match all these information, write the match arm as follows:

($({ $field:ident, $type:ty, $default:expr, $is_mutable:expr, $doc:literal, $($rest:tt)* },)*) => {

Note:

  • Having None as default value means the parameter must be initialized.