Skip to main content

assert_sync

Function assert_sync 

Source
pub const fn assert_sync<T: Sync>()
Expand description

Asserts at compile time that T implements Sync.

The generic bound supplies the assertion, and the function performs no runtime work.