pub struct HttpConnectLimits {
pub max_status_line: usize,
pub max_headers_bytes: usize,
pub max_header_count: usize,
}Expand description
Configuration limits for HTTP CONNECT response parsing.
Fields§
§max_status_line: usizeMaximum length of the status line (e.g., “HTTP/1.1 200 OK\r\n”).
max_headers_bytes: usizeMaximum total bytes for response headers.
max_header_count: usizeMaximum number of header lines (excluding the status line).
Trait Implementations§
Source§impl Clone for HttpConnectLimits
impl Clone for HttpConnectLimits
Source§fn clone(&self) -> HttpConnectLimits
fn clone(&self) -> HttpConnectLimits
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 HttpConnectLimits
impl Debug for HttpConnectLimits
Auto Trait Implementations§
impl Freeze for HttpConnectLimits
impl RefUnwindSafe for HttpConnectLimits
impl Send for HttpConnectLimits
impl Sync for HttpConnectLimits
impl Unpin for HttpConnectLimits
impl UnsafeUnpin for HttpConnectLimits
impl UnwindSafe for HttpConnectLimits
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