kinesis 0.0.1

A *blazingly fast* web framework built for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum EventType {
    Click,
}

impl From<EventType> for String {
    /// Convert to an event name for use in JS listeners.
    fn from(event: EventType) -> Self {
        use EventType::*;
        match event {
            Click => "click",
        }
        .to_string()
    }
}