Enum solicit::http::HttpScheme
[−]
[src]
pub enum HttpScheme {
Http,
Https,
}An enum representing the two possible HTTP schemes.
Variants
HttpThe variant corresponding to http://
HttpsThe variant corresponding to https://
Methods
impl HttpScheme[src]
fn as_bytes(&self) -> &'static [u8]
Returns a byte string representing the scheme.
Trait Implementations
impl Debug for HttpScheme[src]
impl Copy for HttpScheme[src]
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