/// Generate a db file name using the current time
Generate a db file name using the current time
Generate a db file name using the current time
fn db_name(timestamp: &str, count: usize) -> String {
    if count == 0 {
        format!("{}.db", timestamp)
    } else {
        format!("{}_{:02}.db", timestamp, count,)
    }
}
fn db_name ( timestamp : & str , count : usize ) -> String { if count == 0 { format ! ( " " timestamp ) } else { format ! ( " " timestamp count ) } }
Generate a db file name using the current time
Generate a db file name using the current time
timestamp
&str
count
usize