Struct mini_http::version::Version
[−]
[src]
pub struct Version(_);
Represents a version of the HTTP spec.
Methods
impl Version
[src]
const HTTP_09: Version
HTTP_09: Version = Version(Http::Http09)
const HTTP_10: Version
HTTP_10: Version = Version(Http::Http10)
const HTTP_11: Version
HTTP_11: Version = Version(Http::Http11)
const HTTP_2: Version
HTTP_2: Version = Version(Http::H2)
Trait Implementations
impl Ord for Version
[src]
impl Hash for Version
[src]
impl Copy for Version
[src]
impl Clone for Version
[src]
fn clone(&self) -> Version
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<Version> for Version
[src]
fn eq(&self, __arg_0: &Version) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Version) -> bool
[src]
This method tests for !=
.
impl Debug for Version
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.