httparse

Type Alias Result

Source
pub type Result<T> = Result<Status<T>, Error>;
Expand description

A Result of any parsing action.

If the input is invalid, an Error will be returned. Note that incomplete data is not considered invalid, and so will not return an error, but rather a Ok(Status::Partial).

Aliased Type§

enum Result<T> {
    Ok(Status<T>),
    Err(Error),
}

Variants§

§1.0.0

Ok(Status<T>)

Contains the success value

§1.0.0

Err(Error)

Contains the error value