Trait ClientExecutor

Source
pub trait ClientExecutor<T>: Sealed{
    type Result;

    // Required method
    fn send(&self, request: RequestBuilder) -> Self::Result;
}
Expand description

A client used to make requests to the API.

This trait is sealed and cannot be implemented.

Required Associated Types§

Source

type Result

The return type of this client.

Required Methods§

Source

fn send(&self, request: RequestBuilder) -> Self::Result

Sends a requests returning the client’s return type.

Implementors§

Source§

impl<T> ClientExecutor<T> for gw2api_rs::blocking::Client

Source§

impl<T> ClientExecutor<T> for gw2api_rs::Client