Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Given that Send is autoimplemented for things that should be Send, this is a strong indication towards your code attempting to send actually not-thread-safe things across threads (things containing borrowed references or Rc<T>)

The error message does drill down and tell you the actual type causing the lack of Send impl.

The only time you have to manually impl Send is for custom container types that are built from raw primitives.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: