fidl_fuchsia_bluetooth_bredr_testTrait PeerObserverProxyInterface
Source pub trait PeerObserverProxyInterface: Send + Sync {
type ServiceFoundResponseFut: Future<Output = Result<(), Error>> + Send;
type PeerConnectedResponseFut: Future<Output = Result<(), Error>> + Send;
// Required methods
fn service_found(
&self,
peer_id: &PeerId,
protocol: Option<&[ProtocolDescriptor]>,
attributes: &[Attribute],
) -> Self::ServiceFoundResponseFut;
fn peer_connected(
&self,
peer_id: &PeerId,
protocol: &[ProtocolDescriptor],
) -> Self::PeerConnectedResponseFut;
}