> Rust-style returned tuples of {:ok, val} or {:error, e}.
Tuples fall under product types. Rust's APIs return errors as sum types. A more apt comparison would be with Go, where errors are actually returned in tuples.
Edit: nevermind, I see what the author meant now!