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
[src]
fn as_bytes(&self) -> &'static [u8]
Returns a byte string representing the scheme.
Trait Implementations
impl PartialEq for HttpScheme
[src]
fn eq(&self, __arg_0: &HttpScheme) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Clone for HttpScheme
[src]
fn clone(&self) -> HttpScheme
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more