SYMBOL INDEX (128 symbols across 11 files) FILE: src/alsa_mixer.rs function get_available_controls (line 10) | pub fn get_available_controls() -> alsa::Result { type AlsaMixer (line 14) | pub struct AlsaMixer { method get_selem (line 20) | fn get_selem<'a>( method set_volume_with_err (line 53) | fn set_volume_with_err(&self, volume: u16) -> eyre::Result<()> { method get_volume_with_err (line 72) | fn get_volume_with_err(&self) -> eyre::Result { method open (line 91) | fn open(config: MixerConfig) -> Result { method volume (line 101) | fn volume(&self) -> u16 { method set_volume (line 111) | fn set_volume(&self, volume: u16) { FILE: src/config.rs constant CONFIG_FILE_NAME (line 33) | const CONFIG_FILE_NAME: &str = "spotifyd.conf"; type VolumeController (line 37) | pub enum VolumeController { type DeviceType (line 50) | pub enum DeviceType { method from (line 75) | fn from(item: DeviceType) -> Self { function bitrate_parser (line 99) | fn bitrate_parser() -> impl IntoResettable { type Bitrate (line 111) | pub enum Bitrate { method deserialize (line 118) | fn deserialize>(deserializer: D) -> Result Self { type DBusType (line 144) | pub enum DBusType { type AudioFormat (line 150) | pub enum AudioFormat { method from (line 159) | fn from(audio_format: AudioFormat) -> Self { function possible_backends (line 170) | fn possible_backends() -> Vec<&'static str> { function deserialize_backend (line 174) | fn deserialize_backend<'de, D>(de: D) -> Result, D::Error> function number_or_string (line 194) | fn number_or_string<'de, D>(de: D) -> Result, D::Error> type CliConfig (line 222) | pub struct CliConfig { method load_config_file_values (line 466) | pub fn load_config_file_values(&mut self) -> Result<(), Report> { type ExecutionMode (line 248) | pub enum ExecutionMode { type SharedConfigValues (line 260) | pub struct SharedConfigValues { method get_cache (line 514) | pub fn get_cache(&self, for_oauth: bool) -> color_eyre::Result { method proxy_url (line 541) | pub fn proxy_url(&self) -> Option { method merge_with (line 564) | pub fn merge_with(&mut self, mut other: SharedConfigValues) { type MprisConfig (line 374) | pub struct MprisConfig { type AlsaConfig (line 393) | pub struct AlsaConfig { type FileConfig (line 404) | pub struct FileConfig { method get_merged_sections (line 410) | pub fn get_merged_sections(self) -> Option { type KnownConfigProblem (line 422) | enum KnownConfigProblem { function get_known_config_problem (line 431) | fn get_known_config_problem(path: &serde_ignored::Path<'_>) -> Option Option { function device_id (line 616) | fn device_id(name: &str) -> String { type SpotifydConfig (line 620) | pub(crate) struct SpotifydConfig { function get_internal_config (line 644) | pub(crate) fn get_internal_config(config: CliConfig) -> SpotifydConfig { function test_section_merging (line 775) | fn test_section_merging() { function test_example_config (line 801) | fn test_example_config() { FILE: src/dbus_mpris.rs type DbusMap (line 37) | type DbusMap = HashMap>>; constant MPRIS_PATH (line 39) | const MPRIS_PATH: &str = "/org/mpris/MediaPlayer2"; constant CONTROLS_PATH (line 40) | const CONTROLS_PATH: &str = "/rs/spotifyd/Controls"; type ControlMessage (line 42) | pub enum ControlMessage { type DbusServer (line 48) | pub(crate) struct DbusServer { method new (line 54) | pub fn new(event_rx: UnboundedReceiver, dbus_type: DBusTy... method set_session (line 63) | pub fn set_session(&self, spirc: Arc, session: Session) -> Resu... method drop_session (line 69) | pub fn drop_session(&self) -> Result<(), DbusError> { method shutdown (line 76) | pub fn shutdown(&self) -> bool { type DbusError (line 82) | pub(crate) enum DbusError { type Output (line 92) | type Output = Result<(), DbusError>; method poll (line 94) | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll &'static str { type Position (line 117) | struct Position { method new (line 123) | fn new() -> Self { method update_position (line 129) | fn update_position(&mut self, new_position: Duration) { method get_position (line 134) | fn get_position(&self) -> Duration { type RepeatState (line 140) | enum RepeatState { method to_mpris (line 147) | fn to_mpris(self) -> &'static str { method repeat_track (line 155) | fn repeat_track(self) -> bool { method repeat_context (line 159) | fn repeat_context(self) -> bool { method from (line 165) | fn from((context, track): (bool, bool)) -> Self { type CurrentStateInner (line 179) | struct CurrentStateInner { method mpris_volume (line 194) | fn mpris_volume(&self) -> f64 { method get_position (line 198) | fn get_position(&self) -> Option { method update_position (line 207) | fn update_position(&mut self, position: Duration) { method handle_event (line 213) | fn handle_event(&mut self, event: PlayerEvent) -> (DbusMap, bool) { method to_metadata (line 305) | fn to_metadata(&self) -> DbusMap { function insert_attr (line 189) | fn insert_attr(map: &mut DbusMap, attr: impl ToString, value: impl RefAr... type CurrentState (line 400) | struct CurrentState(RwLock); method new (line 413) | fn new(inner: CurrentStateInner) -> Self { method read (line 417) | fn read(&self) -> Result Self { function create_dbus_server (line 428) | async fn create_dbus_server( type SeekedSignal (line 591) | type SeekedSignal = Box dbus::Message + ... function register_player_interface (line 593) | fn register_player_interface( function register_controls_interface (line 901) | fn register_controls_interface(cr: &mut Crossroads, spirc: Arc) { function uri_to_object_path (line 921) | fn uri_to_object_path(uri: Option<&str>) -> dbus::Path<'static> { FILE: src/error.rs type Error (line 5) | pub(crate) struct Error { method subprocess (line 10) | pub(crate) fn subprocess(shell: &str, cmd: &str) -> Self { method subprocess_with_err (line 20) | pub(crate) fn subprocess_with_err(shell: &str, cmd: &str, e: E) -> ... method subprocess_with_str (line 33) | pub(crate) fn subprocess_with_str(shell: &str, cmd: &str, s: &str) -> ... method from (line 45) | fn from(kind: ErrorKind) -> Self { method fmt (line 51) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type ErrorKind (line 60) | pub(crate) enum ErrorKind { method fmt (line 71) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Message (line 91) | pub(crate) enum Message { FILE: src/main.rs type LogTarget (line 31) | enum LogTarget { function setup_logger (line 36) | fn setup_logger(log_target: LogTarget, verbose: u8) -> eyre::Result<()> { function main (line 105) | fn main() -> eyre::Result<()> { function run_daemon (line 125) | fn run_daemon(mut cli_config: CliConfig) -> eyre::Result<()> { FILE: src/main_loop.rs type DbusServer (line 33) | type DbusServer = Pending<()>; type CredentialsProvider (line 35) | pub(crate) enum CredentialsProvider { method get_credentials (line 44) | async fn get_credentials(&mut self) -> Credentials { method incoming_connection (line 62) | async fn incoming_connection(&mut self) { type MainLoop (line 75) | pub(crate) struct MainLoop { method get_connection (line 103) | async fn get_connection( method run (line 164) | pub(crate) async fn run(mut self) -> eyre::Result<()> { type ConnectionInfo (line 94) | struct ConnectionInfo> { FILE: src/no_mixer.rs type NoMixer (line 3) | pub struct NoMixer; method open (line 6) | fn open(_: MixerConfig) -> Result { method volume (line 10) | fn volume(&self) -> u16 { method set_volume (line 14) | fn set_volume(&self, _volume: u16) {} FILE: src/oauth.rs function run_oauth (line 13) | pub(crate) fn run_oauth(mut cli_config: CliConfig, oauth_port: u16) -> e... FILE: src/process.rs function spawn_program (line 13) | fn spawn_program(shell: &str, cmd: &str, env: HashMap<&str, String>) -> ... function audio_item_to_env (line 31) | fn audio_item_to_env(audio_item: Box, env: &mut HashMap<&str,... function spawn_program_on_event (line 43) | pub(crate) fn spawn_program_on_event( type Child (line 220) | pub(crate) struct Child { method new (line 227) | pub(crate) fn new(cmd: String, child: process::Child, shell: String) -... method wait (line 231) | pub(crate) async fn wait(self) -> Result<(), Error> { FILE: src/setup.rs function initial_state (line 17) | pub(crate) fn initial_state( FILE: src/utils.rs function get_shell_ffi (line 10) | fn get_shell_ffi() -> Option { function get_shell_ffi (line 49) | fn get_shell_ffi() -> Option { function get_shell_ffi (line 74) | fn get_shell_ffi() -> Option { function get_shell (line 78) | pub(crate) fn get_shell() -> Option { type Backoff (line 87) | pub(crate) struct Backoff { method new (line 94) | pub(crate) fn new(max_retries: u8, initial_backoff: Duration) -> Self { method next_backoff (line 106) | pub(crate) fn next_backoff(&mut self) -> Result { method retries (line 115) | pub(crate) fn retries(&self) -> u8 { method max_retries (line 119) | pub(crate) fn max_retries(&self) -> u8 { method default (line 125) | fn default() -> Self { function init_logger (line 134) | fn init_logger() { function test_envvar_discovery (line 139) | fn test_envvar_discovery() { function test_ffi_discovery (line 152) | fn test_ffi_discovery() {