1 2 3 4 5 6 7 8 9 10 11 12 13 14
#[derive(Debug, Clone)] pub struct Config { pub max_block_notify_buffer: usize, pub metrics: bool, } impl Default for Config { fn default() -> Self { Self { max_block_notify_buffer: 1 << 10, metrics: false, } } }