pub fn name_for_span(span: &Span) -> Option<String>
Constructs a name attribute for a span, following the rules defined in sentry-conventions.