pub struct ProxyConfig {Show 13 fields
pub max_request_line_bytes: usize,
pub max_header_line_bytes: usize,
pub max_header_bytes: usize,
pub max_headers: usize,
pub max_connections: usize,
pub max_resolved_addresses: usize,
pub header_timeout: Duration,
pub dns_timeout: Duration,
pub connect_timeout: Duration,
pub idle_timeout: Duration,
pub tunnel_timeout: Duration,
pub allowed_ports: BTreeSet<u16>,
pub allow_special_addresses: bool,
}Expand description
Resource and destination limits for the trusted local proxy.
Fields§
§max_request_line_bytes: usize§max_header_line_bytes: usize§max_header_bytes: usize§max_headers: usize§max_connections: usize§max_resolved_addresses: usize§header_timeout: Duration§dns_timeout: Duration§connect_timeout: Duration§idle_timeout: Duration§tunnel_timeout: Duration§allowed_ports: BTreeSet<u16>§allow_special_addresses: boolTests and explicitly trusted local-development profiles may opt in.
Trait Implementations§
Source§impl Clone for ProxyConfig
impl Clone for ProxyConfig
Source§fn clone(&self) -> ProxyConfig
fn clone(&self) -> ProxyConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProxyConfig
impl Debug for ProxyConfig
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