Sending type that is !Send

⚓ Rust    📅 2025-07-10    👤 surdeus    👁️ 16      

surdeus

Warning

This post was published 118 days ago. The information described in this article may have changed.

Info

This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Sending type that is !Send

Hi guys,
How to send a type, that is not send? I've tried:
Arc<RwLock>//no go
Arc<Mutex>//no go

Which surprised me a lot, as I thought that it is the way to send types that do not implement Send trait.

6 posts - 4 participants

Read full topic

🏷️ rust_feed