teo 0.2.6-alpha.5

Next-generation web framework for Rust, Node.js and Python.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[derive(Copy, Clone, Debug)]
pub enum Entrance {
    APP,
    CLI,
}

impl Entrance {

    pub(crate) fn to_str(&self) -> &'static str {
        match self {
            Entrance::APP => "APP",
            Entrance::CLI => "CLI",
        }
    }
}