how to use FromPyObjectBound ? #4603
Unanswered
AriBermeki
asked this question in
Questions
Replies: 1 comment 3 replies
-
For the example above, it is not necessary, your impl could be written with placeholder lifetimes: impl FromPyObjectBound<'_, '_> for User ... so just implement but really, here this type looks trivial and you should just use |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi @davidhewitt , sorry to bother you, I ask you too many questions but I have to.
in which cases I need to implement FromPyObjectBound, please give me an example.
I'm working on a really big project, it's about creating a framework for web-based desktop applications like Tauri in Rust for Python, so I need to understand your Pyo3 API so I don't have to use the Pipe(Stdin/Stdout).
Beta Was this translation helpful? Give feedback.
All reactions