pub struct ProxyHandle {
pub addr: SocketAddr,
pub ca_cert_path: Option<PathBuf>,
/* private fields */
}Expand description
Handle to a running proxy. Drop to shut down.
Fields§
§addr: SocketAddrThe address the proxy is listening on (127.0.0.1:<port>).
ca_cert_path: Option<PathBuf>Path to the CA cert bundle (system roots + local CA).
None when MITM is not enabled.
Implementations§
Auto Trait Implementations§
impl Freeze for ProxyHandle
impl RefUnwindSafe for ProxyHandle
impl Send for ProxyHandle
impl Sync for ProxyHandle
impl Unpin for ProxyHandle
impl UnsafeUnpin for ProxyHandle
impl UnwindSafe for ProxyHandle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more