fidl_fuchsia_bluetooth_bredrTrait ProfileProxyInterface
Source pub trait ProfileProxyInterface: Send + Sync {
type AdvertiseResponseFut: Future<Output = Result<ProfileAdvertiseResult, Error>> + Send;
type ConnectResponseFut: Future<Output = Result<ProfileConnectResult, Error>> + Send;
// Required methods
fn advertise(
&self,
payload: ProfileAdvertiseRequest,
) -> Self::AdvertiseResponseFut;
fn search(&self, payload: ProfileSearchRequest) -> Result<(), Error>;
fn connect(
&self,
peer_id: &PeerId,
connection: &ConnectParameters,
) -> Self::ConnectResponseFut;
fn connect_sco(
&self,
payload: ProfileConnectScoRequest,
) -> Result<(), Error>;
}