pub struct ProxyConfig {
pub listener: ListenerConfig,
pub session: ProxySessionConfig,
pub listener_mode: ListenerMode,
}Expand description
Configuration for the transparent proxy.
Fields§
§listener: ListenerConfigListener configuration (bind address, certs, ALPN).
session: ProxySessionConfigPer-session configuration (upstream address, TLS, transport).
listener_mode: ListenerModeClient-facing listener mode.
Auto Trait Implementations§
impl Freeze for ProxyConfig
impl RefUnwindSafe for ProxyConfig
impl Send for ProxyConfig
impl Sync for ProxyConfig
impl Unpin for ProxyConfig
impl UnsafeUnpin for ProxyConfig
impl UnwindSafe for ProxyConfig
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