1 2 3 4 5 6
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] pub enum Protocol { HTTP, HTTPS, FTP, }