[][src]Trait conjure_http::client::AsyncService

pub trait AsyncService<C> {
    const NAME: &'static str;
    const VERSION: Option<&'static str>;

    fn new(client: C) -> Self;
}

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

Associated Constants

const NAME: &'static str[src]

The name of the service.

const VERSION: Option<&'static str>[src]

The version of the Conjure definition defining the service, if known.

Loading content...

Required methods

fn new(client: C) -> Self[src]

Creates a new service wrapping an async HTTP client.

Loading content...

Implementors

Loading content...