Enum parsip::Error [] [src]

pub enum Error {
    HeaderName,
    HeaderValue,
    NewLine,
    Status,
    Token,
    TooManyHeaders,
    Version,
}

An error in parsing. TODO: for now this is unused; use this custom error type

Variants

Invalid byte in header name.

Invalid byte in header value.

Invalid byte in new line.

Invalid byte in Response status.

Invalid byte where token is required.

Parsed more headers than provided buffer can contain.

Invalid byte in SIP version.

Trait Implementations

impl Copy for Error
[src]

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Error
[src]

impl Debug for Error
[src]

Formats the value using the given formatter.