1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
pub mod configure;

/// container to save datas
pub trait Container
{
    type Key;
    type Value;

    fn inspect( &self, item: &Self::Key )-> &Self::Value;
}


/// modify datas
pub trait Modify: Container
{
    fn mofify( &mut self, item: Self::Key, value: Self::Value )-> &mut Self;
}

/// container content format
pub enum ContType
{
    TOML,
    Json,
    YAML,
    XML,
    Properties,
    CSV,
    Html,
    TXT,
    SQL,

    /// Custom( name )
    Custm(String)
}