http_type/protocol/
enum.rs

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