diff --git a/src/modules/message_handler.rs b/src/modules/message_handler.rs index ce45482..5e66d1b 100644 --- a/src/modules/message_handler.rs +++ b/src/modules/message_handler.rs @@ -1,10 +1,5 @@ use super::stream_states::{state_update::StateUpdate, stream_states_class::StreamState}; -pub enum StateMessage { - StateUpdate(StateUpdate), - CloseListener, -} - pub trait MessageHandler { fn handle_update(&mut self, update: StateUpdate) -> (); fn get_states(&self) -> StreamState;