Closed AlexanderSchuetz97 closed 1 month ago
Sorry this took a while to get back to. I think I would still rather have plain inherent methods for the time being over trying to anticipate what the implementations of TryInto/From
might look like in the future. An especially difficult part here is the type Error = ()
. I would go for Infallible
for these platforms, but even then it isn't particularly ergonomic from the perspective of the users who don't care about "those other platforms".
Let me know if you don't have time or desire to modify the PR, I'll try to find time for it myself in that case.
Ill do it until the end of the week.
I will go for making it a method then that returns Option
Please tell me if you agree or what I should change for my suggestion so I can begin.
I have updated the PR please review @nagisa
Thank you!
see https://github.com/nagisa/rust_libloading/issues/153