Skip to main content

GrpcClient

Trait GrpcClient 

Source
pub trait GrpcClient {
    // Required method
    fn with_interceptor(channel: Channel, interceptor: Interceptor) -> Self;
}
Expand description

Trait for building gRPC clients from a common Builder configuration.

Required Methods§

Source

fn with_interceptor(channel: Channel, interceptor: Interceptor) -> Self

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.

Implementors§