fidl_fuchsia_testing_harness

Trait 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;
}

Required Associated Types§

Required Methods§

Source

fn connect_to_named_protocol( &self, protocol: &str, server_end: Channel, ) -> Self::ConnectToNamedProtocolResponseFut

Source

fn open_service( &self, service: &str, server_end: Channel, ) -> Self::OpenServiceResponseFut

Source

fn connect_to_service_instance( &self, service: &str, instance: &str, server_end: Channel, ) -> Self::ConnectToServiceInstanceResponseFut

Implementors§