Enum solicit::http::HttpScheme [] [src]

pub enum HttpScheme {
    Http,
    Https,
}

An enum representing the two possible HTTP schemes.

Variants

Http

The variant corresponding to http://

Https

The variant corresponding to https://

Methods

impl HttpScheme

fn as_bytes(&self) -> &'static [u8]

Returns a byte string representing the scheme.

Trait Implementations

Derived Implementations

impl PartialEq for HttpScheme

fn eq(&self, __arg_0: &HttpScheme) -> bool

1.0.0fn ne(&self, other: &Rhs) -> bool

impl Clone for HttpScheme

fn clone(&self) -> HttpScheme

1.0.0fn clone_from(&mut self, source: &Self)

impl Copy for HttpScheme

impl Debug for HttpScheme

fn fmt(&self, __arg_0: &mut Formatter) -> Result