fidl_fuchsia_hardware_audioTrait CompositeProxyInterface
Source pub trait CompositeProxyInterface: Send + Sync {
type GetHealthStateResponseFut: Future<Output = Result<HealthState, Error>> + Send;
type ResetResponseFut: Future<Output = Result<CompositeResetResult, Error>> + Send;
type GetPropertiesResponseFut: Future<Output = Result<CompositeProperties, Error>> + Send;
type GetRingBufferFormatsResponseFut: Future<Output = Result<CompositeGetRingBufferFormatsResult, Error>> + Send;
type CreateRingBufferResponseFut: Future<Output = Result<CompositeCreateRingBufferResult, Error>> + Send;
type GetDaiFormatsResponseFut: Future<Output = Result<CompositeGetDaiFormatsResult, Error>> + Send;
type SetDaiFormatResponseFut: Future<Output = Result<CompositeSetDaiFormatResult, Error>> + Send;
// Required methods
fn get_health_state(&self) -> Self::GetHealthStateResponseFut;
fn signal_processing_connect(
&self,
protocol: ServerEnd<SignalProcessingMarker>,
) -> Result<(), Error>;
fn reset(&self) -> Self::ResetResponseFut;
fn get_properties(&self) -> Self::GetPropertiesResponseFut;
fn get_ring_buffer_formats(
&self,
processing_element_id: u64,
) -> Self::GetRingBufferFormatsResponseFut;
fn create_ring_buffer(
&self,
processing_element_id: u64,
format: &Format,
ring_buffer: ServerEnd<RingBufferMarker>,
) -> Self::CreateRingBufferResponseFut;
fn get_dai_formats(
&self,
processing_element_id: u64,
) -> Self::GetDaiFormatsResponseFut;
fn set_dai_format(
&self,
processing_element_id: u64,
format: &DaiFormat,
) -> Self::SetDaiFormatResponseFut;
}