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§
Sourcefn new(client: C, runtime: &Arc<ConjureRuntime>) -> Self
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.