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]

Important traits for &'a [u8]

Returns a byte string representing the scheme.

Trait Implementations

impl Debug for HttpScheme
[src]

Formats the value using the given formatter. Read more

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 !=.

Auto Trait Implementations

impl Send for HttpScheme

impl Sync for HttpScheme