Enum tk_http::Version [] [src]

pub enum Version {
    Http10,
    Http11,
}

Enum reprsenting HTTP version.

Variants

Version 1.0 of the HTTP protocol

Version 1.1 of the HTTP protocol

Trait Implementations

impl Debug for Version
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Version
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Version
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for Version
[src]

impl Copy for Version
[src]

impl Display for Version
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Version

impl Sync for Version