Trait IntoServiceClient

Source
pub trait IntoServiceClient<'ctx>: Sized {
    // Required method
    fn create_client(ctx: &'ctx ContextInternal) -> Self;
}
Expand description

Trait used by codegen to create the service client.

Required Methods§

Source

fn create_client(ctx: &'ctx ContextInternal) -> 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§