in ingester/lib/src/symbolicator/symbol_maps.rs [38:50]
fn poll(
self: std::pin::Pin<&mut Self>,
cx: &mut std::task::Context<'_>,
) -> std::task::Poll<Self::Output> {
// # Safety
// This is a wrapper over the JoinHandle and will not move.
match unsafe { self.map_unchecked_mut(|this| &mut this.task_handle) }.poll(cx) {
std::task::Poll::Pending => std::task::Poll::Pending,
std::task::Poll::Ready(Err(e)) => std::task::Poll::Ready(Err(e.into())),
std::task::Poll::Ready(Ok(r)) => std::task::Poll::Ready(r),
}
.map_err(|e| Arc::from(Box::from(e)))
}