// We can `expect` here as the request id should always be in the entries
letentry=entries
.get(&generation.request_id)
.expect("ID not found in entries. This is a bug.");
// Create and enter a span to link this function back to the entry
let_generation_span=info_span!(parent:entry.temp_span.as_ref().expect("batch_span is None. This is a bug."),"send_generation",generation=?generation).entered();