fidl_fuchsia_audio

Trait GainControlProxyInterface

Source
pub trait GainControlProxyInterface: Send + Sync {
    type SetGainResponseFut: Future<Output = Result<GainControlSetGainResult, Error>> + Send;
    type SetMuteResponseFut: Future<Output = Result<GainControlSetMuteResult, Error>> + Send;

    // Required methods
    fn set_gain(
        &self,
        payload: &GainControlSetGainRequest,
    ) -> Self::SetGainResponseFut;
    fn set_mute(
        &self,
        payload: &GainControlSetMuteRequest,
    ) -> Self::SetMuteResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§