Send and Sync impls for Arc
⚓ Rust 📅 2026-02-24 👤 surdeus 👁️ 4why does Arc<T> requires T: Send + Sync for both Send and Sync?
unsafe impl<T: Send + Sync> Send for Arc<T> {}
unsafe impl<T: Send + Sync> Sync for Arc<T> {}
also, How should one think in general before implementing these marker traits for our own type?
3 posts - 3 participants
🏷️ Rust_feed