Remix.run Logo
pjmlp 4 days ago

In Rust and Swift they can have payloads and variants, which in Rust's case due to lack of ergonomics, there are plenty of macro crates to work around this.

ameliaquining 4 days ago | parent [-]

Yeah, to be clear, it's similar to an option type rather than a result type.