Enum httpbis::solicit::HttpScheme [] [src]

pub enum HttpScheme {
    Http,
    Https,
}

An enum representing the two possible HTTP schemes.

Variants

The variant corresponding to http://

The variant corresponding to https://

Methods

impl HttpScheme
[src]

Returns a byte string representing the scheme.

Trait Implementations

impl Debug for HttpScheme
[src]

Formats the value using the given formatter.

impl Copy for HttpScheme
[src]

impl Clone for HttpScheme
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for HttpScheme
[src]

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

This method tests for !=.