fidl_fuchsia_testing_harnessTrait RealmProxy_ProxyInterface
Source pub trait RealmProxy_ProxyInterface: Send + Sync {
type ConnectToNamedProtocolResponseFut: Future<Output = Result<RealmProxyConnectToNamedProtocolResult, Error>> + Send;
type OpenServiceResponseFut: Future<Output = Result<RealmProxyOpenServiceResult, Error>> + Send;
type ConnectToServiceInstanceResponseFut: Future<Output = Result<RealmProxyConnectToServiceInstanceResult, Error>> + Send;
// Required methods
fn connect_to_named_protocol(
&self,
protocol: &str,
server_end: Channel,
) -> Self::ConnectToNamedProtocolResponseFut;
fn open_service(
&self,
service: &str,
server_end: Channel,
) -> Self::OpenServiceResponseFut;
fn connect_to_service_instance(
&self,
service: &str,
instance: &str,
server_end: Channel,
) -> Self::ConnectToServiceInstanceResponseFut;
}