Enum uhttp_uri::HttpScheme [] [src]

pub enum HttpScheme {
    Http,
    Https,
}

Schemes for HTTP requests.

Variants

Plaintext http.

Secure http.

Trait Implementations

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 Eq for HttpScheme
[src]

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 Debug for HttpScheme
[src]

Formats the value using the given formatter.

impl Hash for HttpScheme
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl FromStr for HttpScheme
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl Display for HttpScheme
[src]

Formats the value using the given formatter. Read more