Trait ServiceConnector

Source
pub trait ServiceConnector<T> {
    type Error;

    // Required method
    fn connect_to_member(
        &self,
        member: &str,
        server_end: T,
    ) -> Result<(), Self::Error>;
}
Expand description

A member connector for a FIDL service.

Required Associated Types§

Source

type Error

The error type returned if the connector fails.

Required Methods§

Source

fn connect_to_member( &self, member: &str, server_end: T, ) -> Result<(), Self::Error>

Attempts to connect to the given service member.

Implementors§