fidl_fuchsia_hardware_bluetoothTrait EmulatorProxyInterface
Source pub trait EmulatorProxyInterface: Send + Sync {
type PublishResponseFut: Future<Output = Result<EmulatorPublishResult, Error>> + Send;
type AddLowEnergyPeerResponseFut: Future<Output = Result<EmulatorAddLowEnergyPeerResult, Error>> + Send;
type AddBredrPeerResponseFut: Future<Output = Result<EmulatorAddBredrPeerResult, Error>> + Send;
type WatchControllerParametersResponseFut: Future<Output = Result<ControllerParameters, Error>> + Send;
type WatchLeScanStatesResponseFut: Future<Output = Result<Vec<LeScanState>, Error>> + Send;
type WatchLegacyAdvertisingStatesResponseFut: Future<Output = Result<Vec<LegacyAdvertisingState>, Error>> + Send;
// Required methods
fn publish(&self, payload: &EmulatorSettings) -> Self::PublishResponseFut;
fn add_low_energy_peer(
&self,
payload: PeerParameters,
) -> Self::AddLowEnergyPeerResponseFut;
fn add_bredr_peer(
&self,
payload: PeerParameters,
) -> Self::AddBredrPeerResponseFut;
fn watch_controller_parameters(
&self,
) -> Self::WatchControllerParametersResponseFut;
fn watch_le_scan_states(&self) -> Self::WatchLeScanStatesResponseFut;
fn watch_legacy_advertising_states(
&self,
) -> Self::WatchLegacyAdvertisingStatesResponseFut;
}