AsyncService

Trait AsyncService 

Source
pub trait AsyncService<C> {
    // Required method
    fn new(client: C, runtime: &Arc<ConjureRuntime>) -> Self;
}
Expand description

A trait implemented by generated async client interfaces for a Conjure service.

Required Methods§

Source

fn new(client: C, runtime: &Arc<ConjureRuntime>) -> Self

Creates a new service wrapping an async HTTP client.

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§