the.bay.news

Send this stuff over threads

The Rust Programming Language Forum
Send this stuff over threads
I have been lost for song long... I want to send this struct over the threads but the classic "some member that is under this struct doesnot implement the SEND trait" comes up. i did avoid this earlier by creating the struct inside the new thread but now i need to use this struct more than once.(creating every time is very expensive). the struct i want to send between threads: pub struct ThreadVideoStream { input_ctx: InputContext, // ffmpeg input ctx is type aliased decoder: VideoDe...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.