MCPcopy Create free account
hub / github.com/base/base / test_error_is_send_sync

Function test_error_is_send_sync

crates/execution/flashblocks/src/error.rs:294–308  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

292
293 #[test]
294 fn test_error_is_send_sync() {
295 fn assert_send<T: Send>() {}
296 fn assert_sync<T: Sync>() {}
297
298 assert_send::<StateProcessorError>();
299 assert_sync::<StateProcessorError>();
300 assert_send::<ProtocolError>();
301 assert_sync::<ProtocolError>();
302 assert_send::<ProviderError>();
303 assert_sync::<ProviderError>();
304 assert_send::<ExecutionError>();
305 assert_sync::<ExecutionError>();
306 assert_send::<BuildError>();
307 assert_sync::<BuildError>();
308 }
309
310 #[test]
311 fn test_sender_recovery_from_impl() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected