Function empris::get_all_players [−][src]
pub async fn get_all_players(
conn: &SyncConnection
) -> Result<Vec<Player<'_>>, Box<dyn Error>>
Expand description
Gets a Vec
of Player
s from all active
MPRIS players found on the DBus
.
Errors
May return an Err
variant if there was a failure in
getting a list of names from DBus
.