fn format_extension<S: Scope, W: Write>( ctx: &S, w: &mut W, extension_type: &str, detail: Option<AnyRef<'_>>, ) -> Result
Decode an extension from an AnyRef, and format it as text
AnyRef