Struct kubos_telemetry_db::Database[][src]

pub struct Database {
    pub connection: SqliteConnection,
}

Fields

Methods

impl Database
[src]
[]

[]

Construct new database structure and database file if needed

Arguments

path - Path to database file

Panics

Attempts to connect to sqlite database and will panic! if connection fails.

[]

Check if database has correct table and creates table if needed

Panics

Will panic! if fails to locate and/or create telemetry table

Auto Trait Implementations

impl Send for Database

impl !Sync for Database