fidl_fuchsia_settings

Trait AudioProxyInterface

Source
pub trait AudioProxyInterface: Send + Sync {
    type WatchResponseFut: Future<Output = Result<AudioSettings, Error>> + Send;
    type Watch2ResponseFut: Future<Output = Result<AudioSettings2, Error>> + Send;
    type SetResponseFut: Future<Output = Result<AudioSetResult, Error>> + Send;
    type Set2ResponseFut: Future<Output = Result<AudioSet2Result, Error>> + Send;

    // Required methods
    fn watch(&self) -> Self::WatchResponseFut;
    fn watch2(&self) -> Self::Watch2ResponseFut;
    fn set(&self, settings: &AudioSettings) -> Self::SetResponseFut;
    fn set2(&self, settings: &AudioSettings2) -> Self::Set2ResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn watch(&self) -> Self::WatchResponseFut

Source

fn watch2(&self) -> Self::Watch2ResponseFut

Source

fn set(&self, settings: &AudioSettings) -> Self::SetResponseFut

Source

fn set2(&self, settings: &AudioSettings2) -> Self::Set2ResponseFut

Implementors§