fidl_fuchsia_ultrasound

Trait FactoryProxyInterface

Source
pub trait FactoryProxyInterface: Send + Sync {
    type CreateCapturerResponseFut: Future<Output = Result<(Clock, AudioStreamType), Error>> + Send;
    type CreateRendererResponseFut: Future<Output = Result<(Clock, AudioStreamType), Error>> + Send;

    // Required methods
    fn create_capturer(
        &self,
        request: ServerEnd<AudioCapturerMarker>,
    ) -> Self::CreateCapturerResponseFut;
    fn create_renderer(
        &self,
        renderer: ServerEnd<AudioRendererMarker>,
    ) -> Self::CreateRendererResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn create_capturer( &self, request: ServerEnd<AudioCapturerMarker>, ) -> Self::CreateCapturerResponseFut

Source

fn create_renderer( &self, renderer: ServerEnd<AudioRendererMarker>, ) -> Self::CreateRendererResponseFut

Implementors§