1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18

use std::num::NonZeroU64;

pub struct Config {
    pub init_block_count:  NonZeroU64,
    pub journal_full_size: u64,
}

impl Default for Config {

    fn default() -> Self {
        Config {
            init_block_count:  NonZeroU64::new(16).unwrap(),
            journal_full_size: 1000,
        }
    }

}