Skip to main content

assert_send

Function assert_send 

Source
pub const fn assert_send<T: Send>()
Expand description

Asserts at compile time that T implements Send.

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