Enum stream_httparse::streaming_parser::ParseError [−][src]
pub enum ParseError {
MissingMethod,
MissingPath,
MissingProtocol,
MissingHeaders,
MissingStatusCode,
InvalidStatusCode,
}Expand description
Indicates all Errors related to parsing a Request/Response/Chunk
Variants
Could not find a valid Method in the Request
Could not find a valid Path in the Request
Could not identify the Protocol of the Request/Response
Could not find any headers in the Request/Response
Could not find a StatusCode in the Response
Returned StatusCode is not valid
Trait Implementations
impl Clone for ParseError[src]
impl Clone for ParseError[src]fn clone(&self) -> ParseError[src]
fn clone(&self) -> ParseError[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for ParseError[src]
impl Debug for ParseError[src]impl Display for ParseError[src]
impl Display for ParseError[src]impl PartialEq<ParseError> for ParseError[src]
impl PartialEq<ParseError> for ParseError[src]impl StructuralPartialEq for ParseError[src]
Auto Trait Implementations
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more