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§
Ok(Option<ParsedMessage<T>>)
Contains the success value
Err(Parse)
Contains the error value