pub struct HeadParseConfig { /* private fields */ }Implementations§
Source§impl HeadParseConfig
impl HeadParseConfig
pub fn new() -> Self
pub fn buf_capacity(&self) -> usize
pub fn header_map_capacity(&self) -> usize
pub fn set_header_max_len(&mut self, value: u16) -> &mut Self
pub fn get_header_max_len(&self) -> usize
pub fn set_headers_max_len(&mut self, value: u16) -> &mut Self
pub fn get_headers_max_len(&self) -> usize
pub fn set_reason_phrase_max_len(&mut self, value: u8) -> &mut Self
pub fn get_reason_phrase_max_len(&self) -> usize
pub fn set_method_max_len(&mut self, value: u8) -> &mut Self
pub fn get_method_max_len(&self) -> usize
pub fn set_uri_max_len(&mut self, value: u16) -> &mut Self
pub fn get_uri_max_len(&self) -> usize
Trait Implementations§
Source§impl Clone for HeadParseConfig
impl Clone for HeadParseConfig
Source§fn clone(&self) -> HeadParseConfig
fn clone(&self) -> HeadParseConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 HeadParseConfig
impl Debug for HeadParseConfig
Auto Trait Implementations§
impl Freeze for HeadParseConfig
impl RefUnwindSafe for HeadParseConfig
impl Send for HeadParseConfig
impl Sync for HeadParseConfig
impl Unpin for HeadParseConfig
impl UnwindSafe for HeadParseConfig
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