pub struct ControlMonitor<'d> { /* private fields */ }
Expand description
Control status change monitor
Await ControlMonitor::changed
for being notified of configuration changes. Afterwards, the updated
configuration settings can be read with ControlMonitor::volume
and ControlMonitor::sample_rate_hz
.
Implementations§
Source§impl<'d> ControlMonitor<'d>
impl<'d> ControlMonitor<'d>
Auto Trait Implementations§
impl<'d> Freeze for ControlMonitor<'d>
impl<'d> !RefUnwindSafe for ControlMonitor<'d>
impl<'d> !Send for ControlMonitor<'d>
impl<'d> !Sync for ControlMonitor<'d>
impl<'d> Unpin for ControlMonitor<'d>
impl<'d> !UnwindSafe for ControlMonitor<'d>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more