pub struct Options {
pub max_head_bytes: usize,
pub max_fields: usize,
pub max_chunk_line_bytes: usize,
pub read_size: usize,
}Expand description
Bounds apply before allocating or accepting an entire wire section.
Fields§
§max_head_bytes: usize§max_fields: usize§max_chunk_line_bytes: usize§read_size: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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