Service

Trait Service 

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

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

Required Methods§

Source

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

Creates a new service wrapping an 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§