Searched refs:assert_send (Results 1 – 11 of 11) sorted by relevance
4 fn assert_send<T: Send>() {} in assert_send() function12 assert_send::<libloading::Error>(); in check_error_send()27 assert_send::<libloading::Library>(); in check_library_send()33 assert_send::<libloading::os::unix::Library>(); in check_unix_library_send()39 assert_send::<libloading::os::windows::Library>(); in check_windows_library_send()61 assert_send::<libloading::Symbol<fn() -> ()>>(); in check_symbol_send()68 assert_send::<libloading::os::unix::Symbol<fn() -> ()>>(); in check_unix_symbol_send()75 assert_send::<libloading::os::windows::Symbol<fn() -> ()>>(); in check_windows_symbol_send()
89 fn assert_send<T: Send>() {} in oibits() function94 assert_send::<Regex>(); in oibits()98 assert_send::<RegexBuilder>(); in oibits()103 assert_send::<bytes::Regex>(); in oibits()107 assert_send::<bytes::RegexBuilder>(); in oibits()112 assert_send::<RegexSet>(); in oibits()116 assert_send::<RegexSetBuilder>(); in oibits()121 assert_send::<bytes::RegexSet>(); in oibits()125 assert_send::<bytes::RegexSetBuilder>(); in oibits()
438 fn assert_send<T: Send>() {} in oibits() function442 assert_send::<&BStr>(); in oibits()445 assert_send::<BString>(); in oibits()449 assert_send::<Finder>(); in oibits()452 assert_send::<FinderReverse>(); in oibits()
5 fn assert_send<T: Send>() {} in test_send() function6 assert_send::<Error>(); in test_send()
13 fn assert_send(_: impl Send) {} in test_async_cxx_string() function14 assert_send(f()); in test_async_cxx_string()
8 fn assert_send<T: Send>() {} in assert_send() function13 assert_send::<ffi::Opaque>(); in main()
4 8 | fn assert_send<T: Send>() {}5 | ---- required by this bound in `assert_send`7 13 | assert_send::<ffi::Opaque>();
6 fn assert_send<T: Send>() {} in assert_send() function13 assert_send::<Sleep>(); in registration_is_send_and_sync()
563 fn assert_send<T: Send>() {} in test_send() function564 assert_send::<super::Handle>(); in test_send()
2136 fn assert_send<T: Send>() {} in oibits() function2140 assert_send::<AhoCorasick>(); in oibits()2143 assert_send::<AhoCorasickBuilder>(); in oibits()
11 fn assert_send<T: Send>() {} in send_sync_traits() function14 assert_send::<WalkDir>(); in send_sync_traits()16 assert_send::<IntoIter>(); in send_sync_traits()18 assert_send::<FilterEntry<IntoIter, u8>>(); in send_sync_traits()