Struct anterofit::Adapter [] [src]

pub struct Adapter<E, I, S, D> { /* fields omitted */ }

The starting point of all Anterofit requests.

Use builder() to start constructing an instance.

Methods

impl Adapter<DefaultExecutor, NoIntercept, NoSerializer, NoDeserializer>
[src]

Start building an impl of Adapter using the default inner types.

Trait Implementations

impl<E: Debug, I: Debug, S: Debug, D: Debug> Debug for Adapter<E, I, S, D>
[src]

Formats the value using the given formatter.

impl<E: Clone, I, S, D> Clone for Adapter<E, I, S, D>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<E, I, S, D> AbsAdapter for Adapter<E, I, S, D> where E: Executor, I: Interceptor, S: Serializer, D: Deserializer
[src]

The adapter's serializer type.

The adapter's deserializer type.

Get a reference to the adapter's Serializer.

Get a reference to the adapter's Deserializer.

impl<E, I, S, D> ObjSafeAdapter for Adapter<E, I, S, D> where E: Executor, I: Interceptor, S: Serializer, D: Deserializer
[src]

Execute exec on this adapter's executor.

Pass head to this adapter's interceptor for modification.

Initialize a hyper::client::RequestBuilder from head.