1bitflags! { 2 /// Set of protocols. 3 pub struct ProtocolFlags: u8 { 4 const TCP = 0b00000001; 5 const UDP = 0b00000010; 6 } 7}