pub fn clear_notification_responders(&mut self) {
        for notif_data in self.notifications.drain().map(|(_, q)| q.into_iter()).flatten() {
            if let Err(e) = notif_data.update_responder(
                &fidl_avrcp::NotificationEvent::TrackChanged, // Irrelevant Event ID.
                Err(fidl_avrcp::TargetAvcError::RejectedAddressedPlayerChanged),
            ) {
                fx_log_warn!("There was an error clearing the responder: {:?}", e);
            }
        }
        fx_vlog!(tag: "avrcp-tg", 1, "After evicting cleared responders: {:?}", self.notifications);
    }
/// Clears all outstanding notifications with an AddressedPlayerChanged error.
/// See `crate::types::update_responder` for more details.
Clears all outstanding notifications with an AddressedPlayerChanged error.
See `crate::types::update_responder` for more details.
Clears all outstanding notifications with an AddressedPlayerChanged error . See ` crate :: types :: update_responder ` for more details .
pub fn clear_notification_responders(&mut self) {
        for notif_data in self.notifications.drain().map(|(_, q)| q.into_iter()).flatten() {
            if let Err(e) = notif_data.update_responder(
                &fidl_avrcp::NotificationEvent::TrackChanged, // Irrelevant Event ID.
                Err(fidl_avrcp::TargetAvcError::RejectedAddressedPlayerChanged),
            ) {
                fx_log_warn!("There was an error clearing the responder: {:?}", e);
            }
        }
        fx_vlog!(tag: "avrcp-tg", 1, "After evicting cleared responders: {:?}", self.notifications);
    }
pub fn clear_notification_responders ( & mut self ) { for notif_data in self . notifications . drain ( ) . map ( | ( _ , q ) | q . into_iter ( ) ) . flatten ( ) { if let Err ( e ) = notif_data . update_responder ( & fidl_avrcp :: NotificationEvent :: TrackChanged , // Irrelevant Event ID. Err ( fidl_avrcp :: TargetAvcError :: RejectedAddressedPlayerChanged ) , ) { fx_log_warn ! ( " " e ) ; } } fx_vlog ! ( tag " " 1 " " self notifications ) ; }
Clears all outstanding notifications with an AddressedPlayerChanged error.
Clears all outstanding notifications with an AddressedPlayerChanged error .
&mut self