Struct mock_proxy::Proxy[][src]

pub struct Proxy { /* fields omitted */ }
Expand description

Primary interface for the library

Implementations

Register a given mock with the proxy

Will panic if proxy has already been started

Start the proxy server

Will panic if proxy has already been started

Start the server

Address and port of the local server. Can be used with std::net::TcpStream.

A local http://… URL of the server.

Returns the root CA certificate of the server

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.