Attribute Macro async_auto_traits::assert [−][src]
#[assert]
Assert that the future returned by an async fn
implements the given auto traits.
Example
#[async_auto_traits::assert(Send + Sync)] async fn foo() {}
#[assert]
Assert that the future returned by an async fn
implements the given auto traits.
#[async_auto_traits::assert(Send + Sync)] async fn foo() {}