Enum hyper::version::HttpVersion
[-] [+]
[src]
pub enum HttpVersion { Http09, Http10, Http11, Http20, }
Represents a version of the HTTP spec.
Variants
Http09 |
|
Http10 |
|
Http11 |
|
Http20 |
|
pub enum HttpVersion { Http09, Http10, Http11, Http20, }
Represents a version of the HTTP spec.
Http09 |
|
Http10 |
|
Http11 |
|
Http20 |
|
impl Display for HttpVersion
impl Debug for HttpVersion
impl Copy for HttpVersion
impl PartialOrd for HttpVersion
fn partial_cmp(&self, __arg_0: &HttpVersion) -> Option<Ordering>
fn lt(&self, __arg_0: &HttpVersion) -> bool
fn le(&self, __arg_0: &HttpVersion) -> bool
fn gt(&self, __arg_0: &HttpVersion) -> bool
fn ge(&self, __arg_0: &HttpVersion) -> bool
impl PartialEq for HttpVersion
fn eq(&self, __arg_0: &HttpVersion) -> bool
fn ne(&self, __arg_0: &HttpVersion) -> bool
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).