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