FactoryProxyInterface

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§

Source

type CreateCapturerResponseFut: Future<Output = Result<(Clock, AudioStreamType), Error>> + Send

Source

type CreateRendererResponseFut: Future<Output = Result<(Clock, AudioStreamType), Error>> + Send

Required Methods§

Implementors§