Enum irox_networking::http::HttpProtocol
source · pub enum HttpProtocol {
HTTP,
HTTPS,
}Expand description
Basic enumerated type to pick the HTTP protocol & port
Variants§
Implementations§
Trait Implementations§
source§impl Clone for HttpProtocol
impl Clone for HttpProtocol
source§fn clone(&self) -> HttpProtocol
fn clone(&self) -> HttpProtocol
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for HttpProtocol
impl Debug for HttpProtocol
source§impl Default for HttpProtocol
impl Default for HttpProtocol
source§fn default() -> HttpProtocol
fn default() -> HttpProtocol
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HttpProtocol
impl<'de> Deserialize<'de> for HttpProtocol
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for HttpProtocol
impl PartialEq for HttpProtocol
source§fn eq(&self, other: &HttpProtocol) -> bool
fn eq(&self, other: &HttpProtocol) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for HttpProtocol
impl Serialize for HttpProtocol
impl Copy for HttpProtocol
impl Eq for HttpProtocol
impl StructuralEq for HttpProtocol
impl StructuralPartialEq for HttpProtocol
Auto Trait Implementations§
impl RefUnwindSafe for HttpProtocol
impl Send for HttpProtocol
impl Sync for HttpProtocol
impl Unpin for HttpProtocol
impl UnwindSafe for HttpProtocol
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more