pub trait RealmProxy {
// Required methods
fn connect_to_named_protocol(
&mut self,
protocol: &str,
server_end: Channel,
) -> Result<(), OperationError>;
fn open_service(
&self,
service: &str,
server_end: Channel,
) -> Result<(), OperationError>;
fn connect_to_service_instance(
&self,
service: &str,
instance: &str,
server_end: Channel,
) -> Result<(), OperationError>;
}Required Methods§
fn connect_to_named_protocol( &mut self, protocol: &str, server_end: Channel, ) -> Result<(), OperationError>
fn open_service( &self, service: &str, server_end: Channel, ) -> Result<(), OperationError>
fn connect_to_service_instance( &self, service: &str, instance: &str, server_end: Channel, ) -> Result<(), OperationError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".