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 PartialOrd<HttpVersion> for HttpVersion
[src]

impl Display for HttpVersion
[src]

Formats the value using the given formatter. Read more

impl Copy for HttpVersion
[src]

impl Ord for HttpVersion
[src]

impl PartialEq<HttpVersion> for HttpVersion
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for HttpVersion
[src]

impl Hash for HttpVersion
[src]

impl Debug for HttpVersion
[src]

Formats the value using the given formatter.

impl Clone for HttpVersion
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more