pub fn dequeue(&self) {
        if let Some(uri) = &*self.next_uri.lockk() {
            self.playbin
                .set_property("uri", uri)
                .expect("Unable to set playbin URI");
            self.main_tx
                .send(BackendMessage::ReachedEndOfSong)
                .expect("Unable to send message to main()");
            self.main_tx
                .send(BackendMessage::RequestNextSong)
                .expect("Unable to send message to main()");
        }
    }
/// Sets the playbin URI to `self.next_uri`, when it is not None.
/// This function is to be used from GStreamer playbin's
/// about-to-finish callback only.
Sets the playbin URI to `self.next_uri`, when it is not None.
This function is to be used from GStreamer playbin's
about-to-finish callback only.
Sets the playbin URI to ` self . next_uri ` when it is not None . This function is to be used from GStreamer playbin ' s about - to - finish callback only .
pub fn dequeue(&self) {
        if let Some(uri) = &*self.next_uri.lockk() {
            self.playbin
                .set_property("uri", uri)
                .expect("Unable to set playbin URI");
            self.main_tx
                .send(BackendMessage::ReachedEndOfSong)
                .expect("Unable to send message to main()");
            self.main_tx
                .send(BackendMessage::RequestNextSong)
                .expect("Unable to send message to main()");
        }
    }
pub fn dequeue ( & self ) { if let Some ( uri ) = & * self . next_uri . lockk ( ) { self . playbin . set_property ( " " , uri ) . expect ( " " ) ; self . main_tx . send ( BackendMessage :: ReachedEndOfSong ) . expect ( " " ) ; self . main_tx . send ( BackendMessage :: RequestNextSong ) . expect ( " " ) ; } }
Sets the playbin URI to `self.next_uri`, when it is not None.
Sets the playbin URI to ` self . next_uri ` when it is not None .
&self