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 HttpVersionimpl Debug for HttpVersionimpl Hash for HttpVersionfn hash<__H: Hasher>(&self, __arg_0: &mut __H)fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasherimpl Ord for HttpVersionfn cmp(&self, __arg_0: &HttpVersion) -> Orderingimpl Eq for HttpVersionimpl Clone for HttpVersionfn clone(&self) -> HttpVersionfn clone_from(&mut self, source: &Self)impl Copy for HttpVersionimpl PartialOrd for HttpVersionfn partial_cmp(&self, __arg_0: &HttpVersion) -> Option<Ordering>fn lt(&self, __arg_0: &HttpVersion) -> boolfn le(&self, __arg_0: &HttpVersion) -> boolfn gt(&self, __arg_0: &HttpVersion) -> boolfn ge(&self, __arg_0: &HttpVersion) -> boolimpl PartialEq for HttpVersionfn eq(&self, __arg_0: &HttpVersion) -> boolfn 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).