fidl_fuchsia_hardware_bluetooth

Trait HciProxyInterface

Source
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§