pub fn stop(&self) -> Result<()> {
        self.playbin.set_state(gst::State::Null)?;
        self.main_tx
            .send(BackendMessage::ReachedEndOfPlaylist)
            .expect("Unable to send message to main()");
        Ok(())
    }
/// Stops playback to quit program.
Stops playback to quit program.
Stops playback to quit program .
pub fn stop(&self) -> Result<()> {
        self.playbin.set_state(gst::State::Null)?;
        self.main_tx
            .send(BackendMessage::ReachedEndOfPlaylist)
            .expect("Unable to send message to main()");
        Ok(())
    }
pub fn stop ( & self ) -> Result < ( ) > { self . playbin . set_state ( gst :: State :: Null ) ? ; self . main_tx . send ( BackendMessage :: ReachedEndOfPlaylist ) . expect ( " " ) ; Ok ( ( ) ) }
Stops playback to quit program.
Stops playback to quit program .
&self