pub trait ActivityReporterProxyInterface: Send + Sync {
type WatchRenderActivityResponseFut: Future<Output = Result<Vec<AudioRenderUsage>, Error>> + Send;
type WatchRenderActivity2ResponseFut: Future<Output = Result<Vec<AudioRenderUsage2>, Error>> + Send;
type WatchCaptureActivityResponseFut: Future<Output = Result<Vec<AudioCaptureUsage>, Error>> + Send;
type WatchCaptureActivity2ResponseFut: Future<Output = Result<Vec<AudioCaptureUsage2>, Error>> + Send;
// Required methods
fn watch_render_activity(&self) -> Self::WatchRenderActivityResponseFut;
fn watch_render_activity2(&self) -> Self::WatchRenderActivity2ResponseFut;
fn watch_capture_activity(&self) -> Self::WatchCaptureActivityResponseFut;
fn watch_capture_activity2(&self) -> Self::WatchCaptureActivity2ResponseFut;
}Required Associated Types§
type WatchRenderActivityResponseFut: Future<Output = Result<Vec<AudioRenderUsage>, Error>> + Send
type WatchRenderActivity2ResponseFut: Future<Output = Result<Vec<AudioRenderUsage2>, Error>> + Send
type WatchCaptureActivityResponseFut: Future<Output = Result<Vec<AudioCaptureUsage>, Error>> + Send
type WatchCaptureActivity2ResponseFut: Future<Output = Result<Vec<AudioCaptureUsage2>, Error>> + Send
Required Methods§
fn watch_render_activity(&self) -> Self::WatchRenderActivityResponseFut
fn watch_render_activity2(&self) -> Self::WatchRenderActivity2ResponseFut
fn watch_capture_activity(&self) -> Self::WatchCaptureActivityResponseFut
fn watch_capture_activity2(&self) -> Self::WatchCaptureActivity2ResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".