~/talk

“Rustify Your API: A Journey from Specification to Implementation”

Talkat RustConf 2024 · 2024-09-10..09-13· [rust, api-design]
links:none on file
slides:none on file

MongoDB Rust driver adds a concrete bulkWrite API that serializes user types at the Collection level, represents mixed operations with an enum WriteModel, and builds options with a fluent action object that implements IntoFuture so await executes the command. It uses typed builders and serde::Serialize to construct insert models, and encodes result shape in the type system with bulk_write_action<R> generics so verbose vs summary results are known at compile time, eliminating unwraps and runtime booleans.

AI-written summary · about

  1. 0:00Intro
  2. 1:54BulkRight API
  3. 4:08User Example
  4. 5:10Right Models
  5. 10:25Options
  6. 16:59Result
  7. 20:04Generics
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.