Rantanen / intercom

Object based cross-language FFI for Rust
MIT License
63 stars 7 forks source link

Deprecate non-ComResult Results #148

Open Rantanen opened 4 years ago

Rantanen commented 4 years ago

I don't think there's much point in supporting custom results. One intended benefit for this was to support things like returning io::Result directly - but having the user do into() on that isn't asking too much more in the end.

Also given Microsoft is developing com-rs, I'm fine giving up on the "Intercom needs to be able to call any COM API" requirement and instead aim for "Most COM APIs but with the best ergonomics possible" and I feel requiring ComResult for fallible methods will give more benefits: