Trait EndpointExt

pub trait EndpointExt {
    // Required methods
    async fn monitored_connect(
        self,
        _: impl Into<String>,
        _: TcpConfig,
    ) -> Result<Channel, Error>;
    fn monitored_connect_lazy(
        self,
        _: impl Into<String>,
        _: TcpConfig,
    ) -> Channel;
}

Required Methods§

async fn monitored_connect( self, _: impl Into<String>, _: TcpConfig, ) -> Result<Channel, Error>

fn monitored_connect_lazy(self, _: impl Into<String>, _: TcpConfig) -> Channel

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

§

impl EndpointExt for Endpoint

§

async fn monitored_connect( self, connection_type: impl Into<String>, config: TcpConfig, ) -> Result<Channel, Error>

§

fn monitored_connect_lazy( self, connection_type: impl Into<String>, config: TcpConfig, ) -> Channel

Implementors§