pub struct Interrupt<'d, D: Driver<'d>, const N: usize> { /* private fields */ }Expand description
The AudioControl interrupt endpoint: tells the host which controls the device changed
itself, so it reads them again. Keep Self::run running.
Implementations§
Source§impl<'d, D: Driver<'d>, const N: usize> Interrupt<'d, D, N>
impl<'d, D: Driver<'d>, const N: usize> Interrupt<'d, D, N>
Sourcepub async fn run(&mut self) -> !
pub async fn run(&mut self) -> !
Sends a notification for each control changed through
ControlMonitor::set_line_out_volume or ControlMonitor::set_line_in_volume.
Auto Trait Implementations§
impl<'d, D, const N: usize> !RefUnwindSafe for Interrupt<'d, D, N>
impl<'d, D, const N: usize> !UnwindSafe for Interrupt<'d, D, N>
impl<'d, D, const N: usize> Forget for Interrupt<'d, D, N>
impl<'d, D, const N: usize> Freeze for Interrupt<'d, D, N>
impl<'d, D, const N: usize> Move for Interrupt<'d, D, N>
impl<'d, D, const N: usize> Send for Interrupt<'d, D, N>
impl<'d, D, const N: usize> Sync for Interrupt<'d, D, N>
impl<'d, D, const N: usize> Unpin for Interrupt<'d, D, N>
impl<'d, D, const N: usize> UnsafeUnpin for Interrupt<'d, D, N>
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