1 | /// Marker for types that are `Sync` but not `Send` |
---|---|
2 | pub(crate) struct SyncNotSend(*mut ()); |
3 | |
4 | unsafe impl Sync for SyncNotSend {} |
5 | |
6 | cfg_rt! { |
7 | pub(crate) struct NotSendOrSync(*mut ()); |
8 | } |
9 |
1 | /// Marker for types that are `Sync` but not `Send` |
---|---|
2 | pub(crate) struct SyncNotSend(*mut ()); |
3 | |
4 | unsafe impl Sync for SyncNotSend {} |
5 | |
6 | cfg_rt! { |
7 | pub(crate) struct NotSendOrSync(*mut ()); |
8 | } |
9 |