fidl_fuchsia_hardware_bluetoothTrait 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;
}