pub struct Limits {
pub max_body_len: usize,
pub max_header_bytes: usize,
pub max_header_count: usize,
pub max_target_len: usize,
pub max_request_bytes: u64,
}Expand description
Per-engine limits. Set values within the hard limits.
Fields§
§max_body_len: usizeMaximum body for complete request helpers, finite replies, and SSE blocks.
max_header_bytes: usizeMaximum combined header-name and header-value bytes per message.
max_header_count: usizeMaximum number of header fields per message.
max_target_len: usizeMaximum combined request authority and path size.
max_request_bytes: u64Maximum clear request body across all DATA records.
Implementations§
Trait Implementations§
impl Copy for Limits
impl Eq for Limits
impl StructuralPartialEq for Limits
Auto Trait Implementations§
impl Freeze for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnsafeUnpin for Limits
impl UnwindSafe for Limits
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