pub struct MitmProxyConfig {
pub socket_path: String,
pub domains: Vec<String>,
}Expand description
MITM proxy configuration for routing specific domains through a man-in-the-middle proxy.
Fields§
§socket_path: StringUnix socket path for the MITM proxy.
domains: Vec<String>Domains to route through the MITM proxy.
Trait Implementations§
Source§impl Clone for MitmProxyConfig
impl Clone for MitmProxyConfig
Source§fn clone(&self) -> MitmProxyConfig
fn clone(&self) -> MitmProxyConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MitmProxyConfig
impl Debug for MitmProxyConfig
Source§impl Default for MitmProxyConfig
impl Default for MitmProxyConfig
Source§fn default() -> MitmProxyConfig
fn default() -> MitmProxyConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MitmProxyConfig
impl<'de> Deserialize<'de> for MitmProxyConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MitmProxyConfig
impl RefUnwindSafe for MitmProxyConfig
impl Send for MitmProxyConfig
impl Sync for MitmProxyConfig
impl Unpin for MitmProxyConfig
impl UnwindSafe for MitmProxyConfig
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