fidl_fuchsia_bluetooth_gatt2

Trait ClientProxyInterface

Source
pub trait ClientProxyInterface: Send + Sync {
    type WatchServicesResponseFut: Future<Output = Result<(Vec<ServiceInfo>, Vec<Handle>), Error>> + Send;

    // Required methods
    fn watch_services(&self, uuids: &[Uuid]) -> Self::WatchServicesResponseFut;
    fn connect_to_service(
        &self,
        handle: &ServiceHandle,
        service: ServerEnd<RemoteServiceMarker>,
    ) -> Result<(), Error>;
}

Required Associated Types§

Required Methods§

Source

fn watch_services(&self, uuids: &[Uuid]) -> Self::WatchServicesResponseFut

Source

fn connect_to_service( &self, handle: &ServiceHandle, service: ServerEnd<RemoteServiceMarker>, ) -> Result<(), Error>

Implementors§