lognplot 0.1.0

Log and plot data
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::db::TsDb;

impl Connection for TsDb {
    /// Open database
    fn open(&self) {
        info!("opening {}", self);
    }

    /// Close database
    fn close(&self) {
        trace!("closing {}", self);
    }
}

pub trait Connection {
    fn open(&self);
    fn close(&self);
}