Enum reqwest::HttpVersion
[−]
[src]
pub enum HttpVersion { Http09, Http10, Http11, Http20, }
Represents a version of the HTTP spec.
Variants
Http09
HTTP/0.9
Http10
HTTP/1.0
Http11
HTTP/1.1
Http20
HTTP/2.0
Trait Implementations
impl Copy for HttpVersion
[src]
impl Ord for HttpVersion
[src]
fn cmp(&self, __arg_0: &HttpVersion) -> Ordering
impl Eq for HttpVersion
[src]
impl Hash for HttpVersion
[src]
impl Display for HttpVersion
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Debug for HttpVersion
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.