pub struct RequestParser { /* private fields */ }Expand description
Incremental request-head parsing for one connection: remembers how far the input was scanned, so a head that trickles in is fully parsed only once the empty line (or a limit) arrives. Eight bytes of state; reset automatically after each complete head or error.
Implementations§
Trait Implementations§
Source§impl Clone for RequestParser
impl Clone for RequestParser
impl Copy for RequestParser
Source§impl Debug for RequestParser
impl Debug for RequestParser
Auto Trait Implementations§
impl Forget for RequestParser
impl Freeze for RequestParser
impl Move for RequestParser
impl RefUnwindSafe for RequestParser
impl Send for RequestParser
impl Sync for RequestParser
impl Unpin for RequestParser
impl UnsafeUnpin for RequestParser
impl UnwindSafe for RequestParser
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