Enum tk_http::Version
[−]
[src]
pub enum Version {
Http10,
Http11,
}Enum reprsenting HTTP version.
Variants
Http10Version 1.0 of the HTTP protocol
Http11Version 1.1 of the HTTP protocol
Trait Implementations
impl Debug for Version[src]
impl Clone for Version[src]
fn clone(&self) -> Version
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for Version[src]
fn eq(&self, __arg_0: &Version) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.