-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unseal TryFromJs
trait
#1026
Comments
Merged
TryFromJs
and remove Sealed
TryFromJs
trait
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
neon::extract::TryFromJs
trait was introduced in #1024 as standardized and ergonomic way of extract Rust values from JavaScript.Allowing users to implement
TryFromJs
gives the power ofcx.args()
and automatic conversions in export macros to user defined types.Questions to answer prior to stabilization:
Error
type (e.g.,TryIntoJs
orResult<Self, Self::Error>: ResultExt
)?from_js
?The text was updated successfully, but these errors were encountered: