Enum httpbis::solicit::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]
pub fn as_bytes(&self) -> &'static [u8]
[src]
Returns a byte string representing the scheme.
Trait Implementations
impl Debug for HttpScheme
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for HttpScheme
[src]
impl Clone for HttpScheme
[src]
fn clone(&self) -> HttpScheme
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more