impl blocks should not be nested in functions - they are global scope
EXBXD3UIERNPLPDCWFE4WP4UENORKTPHUI332DVHUHN5MSLTLJWQC impl<'de> Visitor<'de> for EncodingVisitor {type Value = Encoding;fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {formatter.write_str("a string label meeting the encoding standard https://encoding.spec.whatwg.org/#concept-encoding-get")}fn visit_str<E>(self, v: &str) -> Result<Self::Value, E>whereE: serde::de::Error,{Ok(Encoding::for_label(v))}}
impl<'de> Visitor<'de> for EncodingVisitor {type Value = Encoding;fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {formatter.write_str("a string label meeting the encoding standard https://encoding.spec.whatwg.org/#concept-encoding-get")}fn visit_str<E>(self, v: &str) -> Result<Self::Value, E>whereE: serde::de::Error,{Ok(Encoding::for_label(v))}}