Skip to main content

DecodedField

Type Alias DecodedField 

pub type DecodedField = Result<Header, MalformedField>;
Available on crate features http and std only.
Expand description

A decoded field: a header, or a field that makes its message malformed.

Aliased Type§

pub enum DecodedField {
    Ok(Header),
    Err(MalformedField),
}

Variants§

§1.0.0

Ok(Header)

Contains the success value

§1.0.0

Err(MalformedField)

Contains the error value