removed unused enum
This commit is contained in:
parent
125625c94c
commit
3ec171fd70
1 changed files with 0 additions and 5 deletions
|
@ -1,10 +1,5 @@
|
||||||
use super::stream_states::{state_update::StateUpdate, stream_states_class::StreamState};
|
use super::stream_states::{state_update::StateUpdate, stream_states_class::StreamState};
|
||||||
|
|
||||||
pub enum StateMessage {
|
|
||||||
StateUpdate(StateUpdate),
|
|
||||||
CloseListener,
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait MessageHandler {
|
pub trait MessageHandler {
|
||||||
fn handle_update(&mut self, update: StateUpdate) -> ();
|
fn handle_update(&mut self, update: StateUpdate) -> ();
|
||||||
fn get_states(&self) -> StreamState;
|
fn get_states(&self) -> StreamState;
|
||||||
|
|
Loading…
Reference in a new issue