impero-com / typebinder

Exports TS definitions from Rust module
Other
20 stars 2 forks source link

Fallible ProcessSpawner and Exporter #9

Closed AlisCode closed 3 years ago

AlisCode commented 3 years ago

Both the ProcessSpawner traits and Exporter traits should define an associated type Err and return :

This will avoid panicking in the implementations of those traits, and let the called decide what to do with a potential failure.

AlisCode commented 3 years ago

Fixed by #11