pub struct Proxy { /* fields omitted */ }
Expand description
Primary interface for the library
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
Not supported yet
Address and port of the local server.
Can be used with std::net::TcpStream
.
If server is not running
A local http://…
URL of the server.
If server is not running
Returns the root CA certificate of the server
If PEM conversion fails
Returns the “default value” for a type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.