Enter your book access code

The curriculum, drills, tutor, and interviewer mode are for readers of Ace the Rust Interview. The code is printed in the Preface (Companion site access).

Don’t have the book yet? The landing page stays open — purchase unlocks this gym.

advanced · order 152

Rc held across await

async-send-01Related book chapters: 13 (optional — this page is complete on its own)Sendawait

Slug: async-send-01 · Paired reading: Chapter 13

Prompt

Export async fn cached_len_fixed() -> usize that uses Rc before an await then drops it (book fix). Include local YieldOnce. Provide fn assert_send<F: Future + Send>(_: F) for the test.