pub trait HciProxyInterface: Send + Sync {
    type OpenCommandChannelResponseFut: Future<Output = Result<HciOpenCommandChannelResult, Error>> + Send;
    type OpenAclDataChannelResponseFut: Future<Output = Result<HciOpenAclDataChannelResult, Error>> + Send;
    type OpenScoDataChannelResponseFut: Future<Output = Result<HciOpenScoDataChannelResult, Error>> + Send;
    type ConfigureScoResponseFut: Future<Output = Result<HciConfigureScoResult, Error>> + Send;
    type ResetScoResponseFut: Future<Output = Result<HciResetScoResult, Error>> + Send;
    type OpenIsoDataChannelResponseFut: Future<Output = Result<HciOpenIsoDataChannelResult, Error>> + Send;
    type OpenSnoopChannelResponseFut: Future<Output = Result<HciOpenSnoopChannelResult, Error>> + Send;

    // Required methods
    fn open_command_channel(
        &self,
        channel: Channel
    ) -> Self::OpenCommandChannelResponseFut;
    fn open_acl_data_channel(
        &self,
        channel: Channel
    ) -> Self::OpenAclDataChannelResponseFut;
    fn open_sco_data_channel(
        &self,
        channel: Channel
    ) -> Self::OpenScoDataChannelResponseFut;
    fn configure_sco(
        &self,
        coding_format: ScoCodingFormat,
        encoding: ScoEncoding,
        sample_rate: ScoSampleRate
    ) -> Self::ConfigureScoResponseFut;
    fn reset_sco(&self) -> Self::ResetScoResponseFut;
    fn open_iso_data_channel(
        &self,
        channel: Channel
    ) -> Self::OpenIsoDataChannelResponseFut;
    fn open_snoop_channel(
        &self,
        channel: Channel
    ) -> Self::OpenSnoopChannelResponseFut;
}

Required Associated Types§

Required Methods§

source

fn open_command_channel( &self, channel: Channel ) -> Self::OpenCommandChannelResponseFut

source

fn open_acl_data_channel( &self, channel: Channel ) -> Self::OpenAclDataChannelResponseFut

source

fn open_sco_data_channel( &self, channel: Channel ) -> Self::OpenScoDataChannelResponseFut

source

fn configure_sco( &self, coding_format: ScoCodingFormat, encoding: ScoEncoding, sample_rate: ScoSampleRate ) -> Self::ConfigureScoResponseFut

source

fn reset_sco(&self) -> Self::ResetScoResponseFut

source

fn open_iso_data_channel( &self, channel: Channel ) -> Self::OpenIsoDataChannelResponseFut

source

fn open_snoop_channel( &self, channel: Channel ) -> Self::OpenSnoopChannelResponseFut

Implementors§

source§

impl HciProxyInterface for HciProxy

§

type OpenCommandChannelResponseFut = QueryResponseFut<Result<(), i32>>

§

type OpenAclDataChannelResponseFut = QueryResponseFut<Result<(), i32>>

§

type OpenScoDataChannelResponseFut = QueryResponseFut<Result<(), i32>>

§

type ConfigureScoResponseFut = QueryResponseFut<Result<(), i32>>

§

type ResetScoResponseFut = QueryResponseFut<Result<(), i32>>

§

type OpenIsoDataChannelResponseFut = QueryResponseFut<Result<(), i32>>

§

type OpenSnoopChannelResponseFut = QueryResponseFut<Result<(), i32>>