pub const fn assert_sync<T: Sync>()
Asserts at compile time that T implements Sync.
T
Sync
The generic bound supplies the assertion, and the function performs no runtime work.