Add a Response object

This object will abstract the filter response. For now, it only allow
not to respond. This will change in a future version.
This commit is contained in:
Rodolphe Breard 2019-01-06 16:03:49 +01:00
parent 21efb88331
commit 4ed4609272
3 changed files with 16 additions and 9 deletions

View file

@ -26,6 +26,10 @@ macro_rules! handlers {
};
}
pub enum Response {
None,
}
struct SessionHandler {
entry_rx: mpsc::Receiver<Entry>,
event_handlers: Vec<EventHandler>,