1 2 3 4 5 6 7 8 9 10
/// Defines the `Protocol` enum, representing HTTP-related protocols. #[derive(Debug, Clone, PartialEq, Eq)] pub enum Protocol { /// Represents the HTTP protocol. HTTP, /// Represents the HTTPS protocol. HTTPS, /// Unknown Unknown(String), }