Struct anterofit::Adapter[][src]

pub struct Adapter<S = NoSerializer, D = FromStrDeserializer> { /* fields omitted */ }

The starting point of all Anterofit requests.

Use builder() to start constructing an instance.

Methods

impl Adapter<NoSerializer, FromStrDeserializer>
[src]

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

impl<S, D> Adapter<S, D>
[src]

Modify this adaptor's interceptor.

Note

Any existing service trait objects and copies of this adapter will be unaffected by this change.

impl<S, D> Adapter<S, D> where
    S: Serializer,
    D: Deserializer
[src]

Get a service trait object from an existing shared allocation.

Requires that the service implement UnsizeService.

Trait Implementations

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

Formats the value using the given formatter. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Auto Trait Implementations

impl<S, D> Send for Adapter<S, D> where
    D: Send + Sync,
    S: Send + Sync

impl<S, D> Sync for Adapter<S, D> where
    D: Send + Sync,
    S: Send + Sync