snops-common 0.1.0

Common types and utilities for snops
Documentation
1
2
3
4
5
6
7
8
9
10
use std::path::Path;

use self::error::DatabaseError;

pub mod error;
pub mod tree;

pub trait Database: Sized {
    fn open(path: &Path) -> Result<Self, DatabaseError>;
}