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§