MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / assert_send_sync

Function assert_send_sync

atomic-core/src/pristine/error.rs:902–902  ·  view source on GitHub ↗

PristineError must be thread-safe for async storage backends.

()

Source from the content-addressed store, hash-verified

900 fn errors_are_send_and_sync() {
901 // PristineError must be thread-safe for async storage backends.
902 fn assert_send_sync<T: Send + Sync>() {}
903 assert_send_sync::<PristineError>();
904 }
905}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected