Skip to content

Am I able to use rustube in a non-synchronous way? #50

Answered by DzenanJupic
nednoodlehead asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @nednoodlehead, yes rustube provides blocking wrappers. These wrappers have the same name as the non-blocking types. So my guess, without seeing any of the code, is that you're using rustube::Video instead of rustube::blocking::Video. Also, you need to enable the blocking feature of the crate.

I hope this solves your issues. If not, please share the exact code you used.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nednoodlehead
Comment options

Answer selected by nednoodlehead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants