pub(crate) fn assert_cbor_ser_equal<T>(obj: &T, val: Value)
    where
        for<'de> T: Serialize,
    {
        assert_eq!(serde_cbor::value::to_value(obj).unwrap(), val)
    }
/// Makes sure that the serialized CBOR version of `obj` is the same as
/// `Value`. Used when testing _outgoing_ messages from the HTTP
/// Handler's point of view
Makes sure that the serialized CBOR version of `obj` is the same as
`Value`. Used when testing _outgoing_ messages from the HTTP
Handler's point of view
Makes sure that the serialized CBOR version of ` obj ` is the same as ` Value ` . Used when testing _outgoing_ messages from the HTTP Handler ' s point of view
pub(crate) fn assert_cbor_ser_equal<T>(obj: &T, val: Value)
    where
        for<'de> T: Serialize,
    {
        assert_eq!(serde_cbor::value::to_value(obj).unwrap(), val)
    }
pub ( crate ) fn assert_cbor_ser_equal < T > ( obj : & T , val : Value ) where for < ' de > T : Serialize , { assert_eq ! ( serde_cbor value to_value ( obj ) unwrap ( ) val ) }
Makes sure that the serialized CBOR version of `obj` is the same as
`Value`.
Makes sure that the serialized CBOR version of ` obj ` is the same as ` Value ` .
obj
&T
val
Value
obj
&T
val
Value