Struct finchers_test::Client [] [src]

pub struct Client<E: Endpoint> { /* fields omitted */ }

A wrapper struct of an endpoint which adds the facility for testing.

Methods

impl<E: Endpoint> Client<E>
[src]

[src]

Create a new instance of Client from a given endpoint.

[src]

Create a dummy request with given HTTP method and URI.

impl<E: Endpoint> Client<E>
[src]

[src]

Create a dummy GET request with given URI.

[src]

Create a dummy POST request with given URI.

[src]

Create a dummy PUT request with given URI.

[src]

Create a dummy HEAD request with given URI.

[src]

Create a dummy DELETE request with given URI.

[src]

Create a dummy PATCH request with given URI.

Trait Implementations

impl<E: Debug + Endpoint> Debug for Client<E>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<E> Send for Client<E>

impl<E> Sync for Client<E>