pub enum WebProtocol {
UNKNOWN(String),
HTTP,
HTTPS,
FTP,
WS,
WSS,
}Variants§
Trait Implementations§
Source§impl Clone for WebProtocol
impl Clone for WebProtocol
Source§fn clone(&self) -> WebProtocol
fn clone(&self) -> WebProtocol
Returns a duplicate 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 WebProtocol
impl Debug for WebProtocol
Source§impl<'de> Deserialize<'de> for WebProtocol
impl<'de> Deserialize<'de> for WebProtocol
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 Display for WebProtocol
impl Display for WebProtocol
Source§impl PartialEq for WebProtocol
impl PartialEq for WebProtocol
Source§impl Serialize for WebProtocol
impl Serialize for WebProtocol
impl StructuralPartialEq for WebProtocol
Auto Trait Implementations§
impl Freeze for WebProtocol
impl RefUnwindSafe for WebProtocol
impl Send for WebProtocol
impl Sync for WebProtocol
impl Unpin for WebProtocol
impl UnwindSafe for WebProtocol
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