pub trait ClientStub: Sized {
// Required method
fn with_client(grpc_client: Arc<Client>) -> Self;
}Expand description
Trait implemented by XxxClient structs for Xxx trait.
Required Methods§
Sourcefn with_client(grpc_client: Arc<Client>) -> Self
fn with_client(grpc_client: Arc<Client>) -> Self
Create a client stub using given Client object.
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.