tokio/util/
markers.rs

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