[−][src]Trait i3status_rs::blocks::sound::SoundDevice
Required methods
fn volume(&self) -> u32
[src]
fn muted(&self) -> bool
[src]
fn output_name(&self) -> String
[src]
fn output_description(&self) -> Option<String>
[src]
fn get_info(&mut self) -> Result<(), Error>
[src]
fn set_volume(&mut self, step: i32, max_vol: Option<u32>) -> Result<(), Error>
[src]
fn toggle(&mut self) -> Result<(), Error>
[src]
fn monitor(
&mut self,
id: usize,
tx_update_request: Sender<Task>
) -> Result<(), Error>
[src]
&mut self,
id: usize,
tx_update_request: Sender<Task>
) -> Result<(), Error>
Implementors
impl SoundDevice for AlsaSoundDevice
[src]
fn volume(&self) -> u32
[src]
fn muted(&self) -> bool
[src]
fn output_name(&self) -> String
[src]
fn output_description(&self) -> Option<String>
[src]
fn get_info(&mut self) -> Result<(), Error>
[src]
fn set_volume(&mut self, step: i32, max_vol: Option<u32>) -> Result<(), Error>
[src]
fn toggle(&mut self) -> Result<(), Error>
[src]
fn monitor(
&mut self,
id: usize,
tx_update_request: Sender<Task>
) -> Result<(), Error>
[src]
&mut self,
id: usize,
tx_update_request: Sender<Task>
) -> Result<(), Error>
impl SoundDevice for PulseAudioSoundDevice
[src]
fn volume(&self) -> u32
[src]
fn muted(&self) -> bool
[src]
fn output_name(&self) -> String
[src]
fn output_description(&self) -> Option<String>
[src]
fn get_info(&mut self) -> Result<(), Error>
[src]
fn set_volume(&mut self, step: i32, max_vol: Option<u32>) -> Result<(), Error>
[src]
fn toggle(&mut self) -> Result<(), Error>
[src]
fn monitor(
&mut self,
id: usize,
tx_update_request: Sender<Task>
) -> Result<(), Error>
[src]
&mut self,
id: usize,
tx_update_request: Sender<Task>
) -> Result<(), Error>