Function decode_name

Source
fn decode_name<'n>(
    name: QName<'n>,
    decoder: Decoder,
) -> Result<Cow<'n, str>, DeError>
Expand description

Decodes raw bytes using the deserializer encoding. The method will borrow if encoding is UTF-8 compatible and name contains only UTF-8 compatible characters (usually only ASCII characters).