end: End the span.
This is a method of the Span class in the trace module.
def end(&mut self, end_offset: Duration) -> ()