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:
parent
21efb88331
commit
4ed4609272
3 changed files with 16 additions and 9 deletions
|
@ -26,6 +26,10 @@ macro_rules! handlers {
|
|||
};
|
||||
}
|
||||
|
||||
pub enum Response {
|
||||
None,
|
||||
}
|
||||
|
||||
struct SessionHandler {
|
||||
entry_rx: mpsc::Receiver<Entry>,
|
||||
event_handlers: Vec<EventHandler>,
|
||||
|
|
Reference in a new issue