Enum reqwest::HttpVersion [] [src]

pub enum HttpVersion {
    Http09,
    Http10,
    Http11,
    Http20,
}

Represents a version of the HTTP spec.

Variants

HTTP/0.9

HTTP/1.0

HTTP/1.1

HTTP/2.0

Trait Implementations

impl PartialEq<HttpVersion> for HttpVersion
[src]

impl Clone for HttpVersion
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for HttpVersion
[src]

impl Display for HttpVersion
[src]

Formats the value using the given formatter.

impl PartialOrd<HttpVersion> for HttpVersion
[src]

impl Copy for HttpVersion
[src]

impl Debug for HttpVersion
[src]

Formats the value using the given formatter.

impl Hash for HttpVersion
[src]

impl Ord for HttpVersion
[src]