Enum solicit::http::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 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 !=.

impl Clone for HttpScheme
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for HttpScheme
[src]

impl Debug for HttpScheme
[src]

Formats the value using the given formatter.