fn from_tagged_slice(slice: &[u8]) -> Result<Self> {
        let (t, v) = read_to_value(slice)?.try_as_tag()?;
        if t != Self::TAG {
            return Err(CoseError::UnexpectedItem("tag", "other tag"));
        }
        Self::from_cbor_value(*v)
    }
/// Create an object instance from serialized CBOR data in a slice, expecting an initial
/// tag value.
Create an object instance from serialized CBOR data in a slice, expecting an initial
tag value.
Create an object instance from serialized CBOR data in a slice expecting an initial tag value .
fn from_tagged_slice(slice: &[u8]) -> Result<Self> {
        let (t, v) = read_to_value(slice)?.try_as_tag()?;
        if t != Self::TAG {
            return Err(CoseError::UnexpectedItem("tag", "other tag"));
        }
        Self::from_cbor_value(*v)
    }
fn from_tagged_slice ( slice : & [ u8 ] ) -> Result < Self > { let ( t , v ) = read_to_value ( slice ) ? . try_as_tag ( ) ? ; if t != Self :: TAG { return Err ( CoseError :: UnexpectedItem ( " " , " " ) ) ; } Self :: from_cbor_value ( * v ) }
Create an object instance from serialized CBOR data in a slice, expecting an initial
tag value.
Create an object instance from serialized CBOR data in a slice expecting an initial tag value .
slice
&[u8]