Struct http1_spec::head_parser::HeadParseConfig
source · [−]pub struct HeadParseConfig { /* private fields */ }Implementations
sourceimpl 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
sourceimpl Clone for HeadParseConfig
impl Clone for HeadParseConfig
sourcefn clone(&self) -> HeadParseConfig
fn clone(&self) -> HeadParseConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for HeadParseConfig
impl Debug for HeadParseConfig
Auto Trait Implementations
impl RefUnwindSafe for HeadParseConfig
impl Send for HeadParseConfig
impl Sync for HeadParseConfig
impl Unpin for HeadParseConfig
impl UnwindSafe for HeadParseConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more