1 2 3 4 5 6 7 8 9 10
//! transport net logic #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] /// The protocol used for the transport layer. pub enum TransportProtocol { /// The `tcp` protocol. Tcp, /// The `udp` protocol. Udp, }