pub trait UsageGainListenerProxyInterface: Send + Sync {
type OnGainMuteChangedResponseFut: Future<Output = Result<(), Error>> + Send;
// Required method
fn on_gain_mute_changed(
&self,
muted: bool,
gain_dbfs: f32,
) -> Self::OnGainMuteChangedResponseFut;
}Required Associated Types§
Required Methods§
fn on_gain_mute_changed( &self, muted: bool, gain_dbfs: f32, ) -> Self::OnGainMuteChangedResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".