pub trait ServiceConsumerProxyInterface: Send + Sync {
type ListPeersResponseFut: Future<Output = Result<Vec<Peer>, Error>> + Send;
// Required methods
fn list_peers(&self) -> Self::ListPeersResponseFut;
fn connect_to_service(
&self,
node: &mut NodeId,
service_name: &str,
chan: Channel
) -> Result<(), Error>;
}