pub trait ServiceConnector {
    // Required method
    fn connect(service_name: &str) -> Result<&'static Channel, Status>;
}
Expand description

A trait that provides functionality to connect a channel to a FIDL service.

Required Methods§

source

fn connect(service_name: &str) -> Result<&'static Channel, Status>

Returns a channel to the service named by service_name.

Object Safety§

This trait is not object safe.

Implementors§