fn from(v: CipherSuite) -> Self {
        use self::CipherSuite::*;
        match v {
            UseGroupCipherSuite => 0x00ac_0f00,
            WiredEquivalentPrivacy40 => 0x01ac_0f00,
            TemporalKeyIntegrityProtocol => 0x02ac_0f00,
            CounterModeCbcMacProtocol => 0x04ac_0f00,
            WiredEquivalentPrivacy104 => 0x05ac_0f00,
            BroadcastIntegrityProtocol => 0x06ac_0f00,
            GroupAddressedTrafficNotAllowed => 0x07ac_0f00,
            Reserved(v) => 0x00ac_0f00 | u32::from(v) << 24,
            Vendor(v) => v,
        }
    }
/// Encode cipher suite into 32-bit unsigned value
Encode cipher suite into 32-bit unsigned value
Encode cipher suite into 32 - bit unsigned value
fn from(v: CipherSuite) -> Self {
        use self::CipherSuite::*;
        match v {
            UseGroupCipherSuite => 0x00ac_0f00,
            WiredEquivalentPrivacy40 => 0x01ac_0f00,
            TemporalKeyIntegrityProtocol => 0x02ac_0f00,
            CounterModeCbcMacProtocol => 0x04ac_0f00,
            WiredEquivalentPrivacy104 => 0x05ac_0f00,
            BroadcastIntegrityProtocol => 0x06ac_0f00,
            GroupAddressedTrafficNotAllowed => 0x07ac_0f00,
            Reserved(v) => 0x00ac_0f00 | u32::from(v) << 24,
            Vendor(v) => v,
        }
    }
fn from ( v : CipherSuite ) -> Self { use self :: CipherSuite :: * ; match v { UseGroupCipherSuite => 0x00ac_0f00 , WiredEquivalentPrivacy40 => 0x01ac_0f00 , TemporalKeyIntegrityProtocol => 0x02ac_0f00 , CounterModeCbcMacProtocol => 0x04ac_0f00 , WiredEquivalentPrivacy104 => 0x05ac_0f00 , BroadcastIntegrityProtocol => 0x06ac_0f00 , GroupAddressedTrafficNotAllowed => 0x07ac_0f00 , Reserved ( v ) => 0x00ac_0f00 | u32 :: from ( v ) << 24 , Vendor ( v ) => v , } }
Encode cipher suite into 32-bit unsigned value
Encode cipher suite into 32 - bit unsigned value
v
CipherSuite
v
CipherSuite