Type Alias hyper::proto::h1::ParseResult

source ·
pub(crate) type ParseResult<T> = Result<Option<ParsedMessage<T>>, Parse>;
Expand description

Result newtype for Http1Transaction::parse.

Aliased Type§

enum ParseResult<T> {
    Ok(Option<ParsedMessage<T>>),
    Err(Parse),
}

Variants§

§1.0.0

Ok(Option<ParsedMessage<T>>)

Contains the success value

§1.0.0

Err(Parse)

Contains the error value