pub fn push(&mut self, event: E) {
        match &mut self.mode {
            LoopriderMode::Playback => {
                tracing::warn!("looprider is in playback mode; event is being discarded");
                drop(event);
            }
            LoopriderMode::Record { buf } => buf.push(event),
        }
    }
/// Push a new event to the stream.
Push a new event to the stream.
Push a new event to the stream .
pub fn push(&mut self, event: E) {
        match &mut self.mode {
            LoopriderMode::Playback => {
                tracing::warn!("looprider is in playback mode; event is being discarded");
                drop(event);
            }
            LoopriderMode::Record { buf } => buf.push(event),
        }
    }
pub fn push ( & mut self , event : E ) { match & mut self . mode { LoopriderMode :: Playback => { tracing :: warn ! ( " " ) ; drop ( event ) ; } LoopriderMode :: Record { buf } => buf . push ( event ) , } }
Push a new event to the stream.
Push a new event to the stream .
&mut self
event
E
&mut self
event
E