id
stringlengths
22
133
text
stringlengths
40
40.2k
arch
stringclasses
1 value
syntax
stringclasses
1 value
kind
stringclasses
4 values
repo
stringclasses
27 values
path
stringlengths
5
116
license
stringclasses
6 values
commit
stringlengths
40
40
source_host
stringclasses
1 value
category
stringclasses
16 values
source_url
stringlengths
85
196
line_start
int64
1
4.28k
line_end
int64
4
4.31k
tokio-rs/tokio:tokio/tests/async_send_sync.rs:7
async_assert_fn!(tokio::net::lookup_host(SocketAddr): Send & Sync & !Unpin); async_assert_fn!(tokio::net::tcp::ReadHalf::peek(_, &mut [u8]): Send & Sync & !Unpin); #[cfg(unix)] mod unix_datagram { use super::*; use tokio::net::*; assert_value!(UnixDatagram: Send & Sync & Unpin); assert_value!(UnixListe...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17/tokio/tests/async_send_sync.rs
241
300
tokio-rs/tokio:tokio/tests/async_send_sync.rs:8
async_assert_fn!(Sender::ready(_, tokio::io::Interest): Send & Sync & !Unpin); async_assert_fn!(Sender::writable(_): Send & Sync & !Unpin); } #[cfg(windows)] mod windows_named_pipe { use super::*; use tokio::net::windows::named_pipe::*; assert_value!(ClientOptions: Send & Sync & Unpin); assert_valu...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17/tokio/tests/async_send_sync.rs
281
340
tokio-rs/tokio:tokio/tests/async_send_sync.rs:9
#[cfg(unix)] mod unix_signal { use super::*; assert_value!(tokio::signal::unix::Signal: Send & Sync & Unpin); assert_value!(tokio::signal::unix::SignalKind: Send & Sync & Unpin); async_assert_fn!(tokio::signal::unix::Signal::recv(_): Send & Sync & !Unpin); } #[cfg(windows)] mod windows_signal { use ...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17/tokio/tests/async_send_sync.rs
321
380
tokio-rs/tokio:tokio/tests/async_send_sync.rs:10
assert_value!(tokio::sync::OwnedMappedMutexGuard<NN,YY>: !Send & !Sync & Unpin); assert_value!(tokio::sync::OwnedMappedMutexGuard<YN,NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::OwnedMappedMutexGuard<YN,YN>: Send & !Sync & Unpin); assert_value!(tokio::sync::OwnedMappedMutexGuard<YN,YY>: Send & !Sync & Unpin)...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17/tokio/tests/async_send_sync.rs
361
420
tokio-rs/tokio:tokio/tests/async_send_sync.rs:11
assert_value!(tokio::sync::broadcast::WeakSender<YN>: Send & Sync & Unpin); assert_value!(tokio::sync::broadcast::WeakSender<YY>: Send & Sync & Unpin); assert_value!(tokio::sync::futures::Notified<'_>: Send & Sync & !Unpin); assert_value!(tokio::sync::futures::OwnedNotified: Send & Sync & !Unpin); assert_value!(tokio::...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17/tokio/tests/async_send_sync.rs
401
460
tokio-rs/tokio:tokio/tests/async_send_sync.rs:12
assert_value!(tokio::sync::oneshot::Sender<NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::oneshot::Sender<YN>: Send & Sync & Unpin); assert_value!(tokio::sync::oneshot::Sender<YY>: Send & Sync & Unpin); assert_value!(tokio::sync::watch::Receiver<NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::watch::Re...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17/tokio/tests/async_send_sync.rs
441
500
tokio-rs/tokio:tokio/tests/async_send_sync.rs:13
async_assert_fn!(tokio::sync::OnceCell<YN>::get_or_try_init( _, fn() -> Pin<Box<dyn Future<Output = std::io::Result<YN>>>>): !Send & !Sync & !Unpin); async_assert_fn!(tokio::sync::OnceCell<YY>::get_or_init( _, fn() -> Pin<Box<dyn Future<Output = YY> + Send + Sync>>): Send & Sync & !Unpin); async_assert_fn!(tokio::sync:...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17/tokio/tests/async_send_sync.rs
481
540
tokio-rs/tokio:tokio/tests/async_send_sync.rs:14
async_assert_fn!(tokio::sync::mpsc::Sender<YY>::send_timeout(_, YY, Duration): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::mpsc::UnboundedReceiver<NN>::recv(_): !Send & !Sync & !Unpin); async_assert_fn!(tokio::sync::mpsc::UnboundedReceiver<YN>::recv(_): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::mpsc...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17/tokio/tests/async_send_sync.rs
521
580
tokio-rs/tokio:tokio/tests/async_send_sync.rs:15
assert_value!(tokio::time::Interval: Send & Sync & Unpin); assert_value!(tokio::time::Instant: Send & Sync & Unpin); assert_value!(tokio::time::Sleep: Send & Sync & !Unpin); assert_value!(tokio::time::Timeout<BoxFutureSync<()>>: Send & Sync & !Unpin); assert_value!(tokio::time::Timeout<BoxFutureSend<()>>: Send & !Sync ...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17/tokio/tests/async_send_sync.rs
561
620
tokio-rs/tokio:tokio/tests/async_send_sync.rs:16
tokio::io::copy_bidirectional(&mut TcpStream, &mut TcpStream): Send & Sync & !Unpin ); async_assert_fn!(tokio::io::copy_buf(&mut tokio::io::BufReader<TcpStream>, &mut TcpStream): Send & Sync & !Unpin); async_assert_fn!(tokio::io::empty(): Send & Sync & Unpin); async_assert_fn!(tokio::io::repeat(u8): Send & Sync & Unpin...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17/tokio/tests/async_send_sync.rs
601
660
tokio-rs/tokio:tokio/tests/async_send_sync.rs:17
async_assert_fn!(tokio::io::AsyncReadExt::read_u128_le(&mut BoxAsyncRead): Send & Sync & !Unpin); async_assert_fn!(tokio::io::AsyncReadExt::read_i128_le(&mut BoxAsyncRead): Send & Sync & !Unpin); async_assert_fn!(tokio::io::AsyncReadExt::read_f32_le(&mut BoxAsyncRead): Send & Sync & !Unpin); async_assert_fn!(tokio::io:...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17/tokio/tests/async_send_sync.rs
641
700
tokio-rs/tokio:tokio/tests/async_send_sync.rs:18
); async_assert_fn!( tokio::io::AsyncWriteExt::write_u64(&mut BoxAsyncWrite, u64): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_i64(&mut BoxAsyncWrite, i64): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_u128(&mut BoxAsyncWrite, u128): Send & Sync & !...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17/tokio/tests/async_send_sync.rs
681
740
tokio-rs/tokio:tokio/tests/async_send_sync.rs:19
async_assert_fn!( tokio::io::AsyncWriteExt::write_i128_le(&mut BoxAsyncWrite, i128): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_f32_le(&mut BoxAsyncWrite, f32): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_f64_le(&mut BoxAsyncWrite, f64): Send & Sy...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17/tokio/tests/async_send_sync.rs
721
778
tokio-rs/tokio:tokio/tests/async_send_sync.rs:20
async_assert_fn!(AsyncFd<ImplsFd<YY>>::writable_mut(_): Send & Sync & !Unpin); async_assert_fn!(AsyncFd<ImplsFd<YN>>::readable(_): !Send & !Sync & !Unpin); async_assert_fn!(AsyncFd<ImplsFd<YN>>::readable_mut(_): Send & !Sync & !Unpin); async_assert_fn!(AsyncFd<ImplsFd<YN>>::writable(_): !Send & !Sync & !Unp...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c6d58ce7e7bf4a6e7e6efc1ffeb42daa3a627c17/tokio/tests/async_send_sync.rs
761
778
tokio-rs/tokio:tokio/tests/async_send_sync.rs:10
assert_value!(tokio::sync::OwnedMappedMutexGuard<NN,YY>: !Send & !Sync & Unpin); assert_value!(tokio::sync::OwnedMappedMutexGuard<YN,NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::OwnedMappedMutexGuard<YN,YN>: Send & !Sync & Unpin); assert_value!(tokio::sync::OwnedMappedMutexGuard<YN,YY>: Send & !Sync & Unpin)...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
911ab21d7012a50e53971ad1292a9f18de22d4c8
github
async-runtime
https://github.com/tokio-rs/tokio/blob/911ab21d7012a50e53971ad1292a9f18de22d4c8/tokio/tests/async_send_sync.rs
361
420
tokio-rs/tokio:tokio/tests/async_send_sync.rs:11
assert_value!(tokio::sync::broadcast::WeakSender<YN>: Send & Sync & Unpin); assert_value!(tokio::sync::broadcast::WeakSender<YY>: Send & Sync & Unpin); assert_value!(tokio::sync::futures::Notified<'_>: Send & Sync & !Unpin); assert_value!(tokio::sync::mpsc::OwnedPermit<NN>: !Send & !Sync & Unpin); assert_value!(tokio::...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
911ab21d7012a50e53971ad1292a9f18de22d4c8
github
async-runtime
https://github.com/tokio-rs/tokio/blob/911ab21d7012a50e53971ad1292a9f18de22d4c8/tokio/tests/async_send_sync.rs
401
460
tokio-rs/tokio:tokio/tests/async_send_sync.rs:12
assert_value!(tokio::sync::oneshot::Sender<YN>: Send & Sync & Unpin); assert_value!(tokio::sync::oneshot::Sender<YY>: Send & Sync & Unpin); assert_value!(tokio::sync::watch::Receiver<NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::watch::Receiver<YN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::watch::Re...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
911ab21d7012a50e53971ad1292a9f18de22d4c8
github
async-runtime
https://github.com/tokio-rs/tokio/blob/911ab21d7012a50e53971ad1292a9f18de22d4c8/tokio/tests/async_send_sync.rs
441
500
tokio-rs/tokio:tokio/tests/async_send_sync.rs:13
async_assert_fn!(tokio::sync::OnceCell<YY>::get_or_init( _, fn() -> Pin<Box<dyn Future<Output = YY> + Send + Sync>>): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::OnceCell<YY>::get_or_init( _, fn() -> Pin<Box<dyn Future<Output = YY> + Send>>): Send & !Sync & !Unpin); async_assert_fn!(tokio::sync::OnceCell<YY>::...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
911ab21d7012a50e53971ad1292a9f18de22d4c8
github
async-runtime
https://github.com/tokio-rs/tokio/blob/911ab21d7012a50e53971ad1292a9f18de22d4c8/tokio/tests/async_send_sync.rs
481
540
tokio-rs/tokio:tokio/tests/async_send_sync.rs:14
async_assert_fn!(tokio::sync::mpsc::UnboundedReceiver<NN>::recv(_): !Send & !Sync & !Unpin); async_assert_fn!(tokio::sync::mpsc::UnboundedReceiver<YN>::recv(_): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::mpsc::UnboundedReceiver<YY>::recv(_): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::mpsc::Unbounded...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
911ab21d7012a50e53971ad1292a9f18de22d4c8
github
async-runtime
https://github.com/tokio-rs/tokio/blob/911ab21d7012a50e53971ad1292a9f18de22d4c8/tokio/tests/async_send_sync.rs
521
580
tokio-rs/tokio:tokio/tests/async_send_sync.rs:15
assert_value!(tokio::time::Interval: Send & Sync & Unpin); assert_value!(tokio::time::Instant: Send & Sync & Unpin); assert_value!(tokio::time::Sleep: Send & Sync & !Unpin); assert_value!(tokio::time::Timeout<BoxFutureSync<()>>: Send & Sync & !Unpin); assert_value!(tokio::time::Timeout<BoxFutureSend<()>>: Send & !Sync ...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
911ab21d7012a50e53971ad1292a9f18de22d4c8
github
async-runtime
https://github.com/tokio-rs/tokio/blob/911ab21d7012a50e53971ad1292a9f18de22d4c8/tokio/tests/async_send_sync.rs
561
620
tokio-rs/tokio:tokio/tests/async_send_sync.rs:16
); async_assert_fn!(tokio::io::copy_buf(&mut tokio::io::BufReader<TcpStream>, &mut TcpStream): Send & Sync & !Unpin); async_assert_fn!(tokio::io::empty(): Send & Sync & Unpin); async_assert_fn!(tokio::io::repeat(u8): Send & Sync & Unpin); async_assert_fn!(tokio::io::sink(): Send & Sync & Unpin); async_assert_fn!(tokio:...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
911ab21d7012a50e53971ad1292a9f18de22d4c8
github
async-runtime
https://github.com/tokio-rs/tokio/blob/911ab21d7012a50e53971ad1292a9f18de22d4c8/tokio/tests/async_send_sync.rs
601
660
tokio-rs/tokio:tokio/tests/async_send_sync.rs:17
async_assert_fn!(tokio::io::AsyncReadExt::read_i128_le(&mut BoxAsyncRead): Send & Sync & !Unpin); async_assert_fn!(tokio::io::AsyncReadExt::read_f32_le(&mut BoxAsyncRead): Send & Sync & !Unpin); async_assert_fn!(tokio::io::AsyncReadExt::read_f64_le(&mut BoxAsyncRead): Send & Sync & !Unpin); async_assert_fn!(tokio::io::...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
911ab21d7012a50e53971ad1292a9f18de22d4c8
github
async-runtime
https://github.com/tokio-rs/tokio/blob/911ab21d7012a50e53971ad1292a9f18de22d4c8/tokio/tests/async_send_sync.rs
641
700
tokio-rs/tokio:tokio/tests/async_send_sync.rs:18
async_assert_fn!( tokio::io::AsyncWriteExt::write_u64(&mut BoxAsyncWrite, u64): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_i64(&mut BoxAsyncWrite, i64): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_u128(&mut BoxAsyncWrite, u128): Send & Sync & !Unp...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
911ab21d7012a50e53971ad1292a9f18de22d4c8
github
async-runtime
https://github.com/tokio-rs/tokio/blob/911ab21d7012a50e53971ad1292a9f18de22d4c8/tokio/tests/async_send_sync.rs
681
740
tokio-rs/tokio:tokio/tests/async_send_sync.rs:19
tokio::io::AsyncWriteExt::write_i128_le(&mut BoxAsyncWrite, i128): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_f32_le(&mut BoxAsyncWrite, f32): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_f64_le(&mut BoxAsyncWrite, f64): Send & Sync & !Unpin ); async_a...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
911ab21d7012a50e53971ad1292a9f18de22d4c8
github
async-runtime
https://github.com/tokio-rs/tokio/blob/911ab21d7012a50e53971ad1292a9f18de22d4c8/tokio/tests/async_send_sync.rs
721
777
tokio-rs/tokio:tokio/tests/async_send_sync.rs:20
async_assert_fn!(AsyncFd<ImplsFd<YN>>::readable(_): !Send & !Sync & !Unpin); async_assert_fn!(AsyncFd<ImplsFd<YN>>::readable_mut(_): Send & !Sync & !Unpin); async_assert_fn!(AsyncFd<ImplsFd<YN>>::writable(_): !Send & !Sync & !Unpin); async_assert_fn!(AsyncFd<ImplsFd<YN>>::writable_mut(_): Send & !Sync & !Un...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
911ab21d7012a50e53971ad1292a9f18de22d4c8
github
async-runtime
https://github.com/tokio-rs/tokio/blob/911ab21d7012a50e53971ad1292a9f18de22d4c8/tokio/tests/async_send_sync.rs
761
777
tokio-rs/tokio:tokio/tests/async_send_sync.rs:9
#[cfg(unix)] mod unix_signal { use super::*; assert_value!(tokio::signal::unix::Signal: Send & Sync & Unpin); assert_value!(tokio::signal::unix::SignalKind: Send & Sync & Unpin); async_assert_fn!(tokio::signal::unix::Signal::recv(_): Send & Sync & !Unpin); } #[cfg(windows)] mod windows_signal { use ...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
611b7933561670c8349ddd5c100fdc76c474e3db
github
async-runtime
https://github.com/tokio-rs/tokio/blob/611b7933561670c8349ddd5c100fdc76c474e3db/tokio/tests/async_send_sync.rs
321
380
tokio-rs/tokio:tokio/tests/async_send_sync.rs:10
assert_value!(tokio::sync::OwnedMappedMutexGuard<YN,YY>: Send & !Sync & Unpin); assert_value!(tokio::sync::OwnedMappedMutexGuard<YY,NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::OwnedMappedMutexGuard<YY,YN>: Send & !Sync & Unpin); assert_value!(tokio::sync::OwnedMappedMutexGuard<YY,YY>: Send & Sync & Unpin); ...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
611b7933561670c8349ddd5c100fdc76c474e3db
github
async-runtime
https://github.com/tokio-rs/tokio/blob/611b7933561670c8349ddd5c100fdc76c474e3db/tokio/tests/async_send_sync.rs
361
420
tokio-rs/tokio:tokio/tests/async_send_sync.rs:11
assert_value!(tokio::sync::mpsc::OwnedPermit<NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::mpsc::OwnedPermit<YN>: Send & Sync & Unpin); assert_value!(tokio::sync::mpsc::OwnedPermit<YY>: Send & Sync & Unpin); assert_value!(tokio::sync::mpsc::Permit<'_, NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::mp...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
611b7933561670c8349ddd5c100fdc76c474e3db
github
async-runtime
https://github.com/tokio-rs/tokio/blob/611b7933561670c8349ddd5c100fdc76c474e3db/tokio/tests/async_send_sync.rs
401
460
tokio-rs/tokio:tokio/tests/async_send_sync.rs:12
assert_value!(tokio::sync::watch::Receiver<YN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::watch::Receiver<YY>: Send & Sync & Unpin); assert_value!(tokio::sync::watch::Ref<'_, NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::watch::Ref<'_, YN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::watch::Re...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
611b7933561670c8349ddd5c100fdc76c474e3db
github
async-runtime
https://github.com/tokio-rs/tokio/blob/611b7933561670c8349ddd5c100fdc76c474e3db/tokio/tests/async_send_sync.rs
441
500
tokio-rs/tokio:tokio/tests/async_send_sync.rs:13
async_assert_fn!(tokio::sync::OnceCell<YY>::get_or_try_init( _, fn() -> Pin<Box<dyn Future<Output = std::io::Result<YY>> + Send + Sync>>): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::OnceCell<YY>::get_or_try_init( _, fn() -> Pin<Box<dyn Future<Output = std::io::Result<YY>> + Send>>): Send & !Sync & !Unpin); as...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
611b7933561670c8349ddd5c100fdc76c474e3db
github
async-runtime
https://github.com/tokio-rs/tokio/blob/611b7933561670c8349ddd5c100fdc76c474e3db/tokio/tests/async_send_sync.rs
481
540
tokio-rs/tokio:tokio/tests/async_send_sync.rs:14
async_assert_fn!(tokio::sync::oneshot::Sender<NN>::closed(_): !Send & !Sync & !Unpin); async_assert_fn!(tokio::sync::oneshot::Sender<YN>::closed(_): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::oneshot::Sender<YY>::closed(_): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::watch::Receiver<NN>::changed(_): ...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
611b7933561670c8349ddd5c100fdc76c474e3db
github
async-runtime
https://github.com/tokio-rs/tokio/blob/611b7933561670c8349ddd5c100fdc76c474e3db/tokio/tests/async_send_sync.rs
521
580
tokio-rs/tokio:tokio/tests/async_send_sync.rs:15
assert_value!(tokio::time::error::Elapsed: Send & Sync & Unpin); assert_value!(tokio::time::error::Error: Send & Sync & Unpin); async_assert_fn!(tokio::time::advance(Duration): Send & Sync & !Unpin); async_assert_fn!(tokio::time::sleep(Duration): Send & Sync & !Unpin); async_assert_fn!(tokio::time::sleep_until(Instant)...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
611b7933561670c8349ddd5c100fdc76c474e3db
github
async-runtime
https://github.com/tokio-rs/tokio/blob/611b7933561670c8349ddd5c100fdc76c474e3db/tokio/tests/async_send_sync.rs
561
620
tokio-rs/tokio:tokio/tests/async_send_sync.rs:16
async_assert_fn!(tokio::io::stderr(): Send & Sync & Unpin); async_assert_fn!(tokio::io::stdin(): Send & Sync & Unpin); async_assert_fn!(tokio::io::stdout(): Send & Sync & Unpin); async_assert_fn!(tokio::io::Split<tokio::io::BufReader<TcpStream>>::next_segment(_): Send & Sync & !Unpin); async_assert_fn!(tokio::io::Lines...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
611b7933561670c8349ddd5c100fdc76c474e3db
github
async-runtime
https://github.com/tokio-rs/tokio/blob/611b7933561670c8349ddd5c100fdc76c474e3db/tokio/tests/async_send_sync.rs
601
660
tokio-rs/tokio:tokio/tests/async_send_sync.rs:17
); async_assert_fn!(tokio::io::AsyncSeekExt::seek(&mut BoxAsyncSeek, SeekFrom): Send & Sync & !Unpin); async_assert_fn!(tokio::io::AsyncSeekExt::stream_position(&mut BoxAsyncSeek): Send & Sync & !Unpin); async_assert_fn!(tokio::io::AsyncWriteExt::write(&mut BoxAsyncWrite, &[u8]): Send & Sync & !Unpin); async_assert_fn!...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
611b7933561670c8349ddd5c100fdc76c474e3db
github
async-runtime
https://github.com/tokio-rs/tokio/blob/611b7933561670c8349ddd5c100fdc76c474e3db/tokio/tests/async_send_sync.rs
641
700
tokio-rs/tokio:tokio/tests/async_send_sync.rs:18
async_assert_fn!( tokio::io::AsyncWriteExt::write_u128(&mut BoxAsyncWrite, u128): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_i128(&mut BoxAsyncWrite, i128): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_f32(&mut BoxAsyncWrite, f32): Send & Sync & !U...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
611b7933561670c8349ddd5c100fdc76c474e3db
github
async-runtime
https://github.com/tokio-rs/tokio/blob/611b7933561670c8349ddd5c100fdc76c474e3db/tokio/tests/async_send_sync.rs
681
740
tokio-rs/tokio:tokio/tests/async_send_sync.rs:19
tokio::io::AsyncWriteExt::write_f64_le(&mut BoxAsyncWrite, f64): Send & Sync & !Unpin ); async_assert_fn!(tokio::io::AsyncWriteExt::flush(&mut BoxAsyncWrite): Send & Sync & !Unpin); async_assert_fn!(tokio::io::AsyncWriteExt::shutdown(&mut BoxAsyncWrite): Send & Sync & !Unpin); #[cfg(unix)] mod unix_asyncfd { use s...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
611b7933561670c8349ddd5c100fdc76c474e3db
github
async-runtime
https://github.com/tokio-rs/tokio/blob/611b7933561670c8349ddd5c100fdc76c474e3db/tokio/tests/async_send_sync.rs
721
771
tokio-rs/tokio:tokio/tests/async_send_sync.rs:20
async_assert_fn!(AsyncFd<ImplsFd<NN>>::writable(_): !Send & !Sync & !Unpin); async_assert_fn!(AsyncFd<ImplsFd<NN>>::writable_mut(_): !Send & !Sync & !Unpin); } #[cfg(tokio_unstable)] mod unstable { use super::*; assert_value!(tokio::runtime::LocalRuntime: !Send & !Sync & Unpin); assert_value!(tokio::r...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
611b7933561670c8349ddd5c100fdc76c474e3db
github
async-runtime
https://github.com/tokio-rs/tokio/blob/611b7933561670c8349ddd5c100fdc76c474e3db/tokio/tests/async_send_sync.rs
761
771
tokio-rs/tokio:tokio/tests/async_send_sync.rs:11
assert_value!(tokio::sync::mpsc::OwnedPermit<NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::mpsc::OwnedPermit<YN>: Send & Sync & Unpin); assert_value!(tokio::sync::mpsc::OwnedPermit<YY>: Send & Sync & Unpin); assert_value!(tokio::sync::mpsc::Permit<'_, NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::mp...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
17d8c2b29d94550f504d8fd76d8d8aaf66095864
github
async-runtime
https://github.com/tokio-rs/tokio/blob/17d8c2b29d94550f504d8fd76d8d8aaf66095864/tokio/tests/async_send_sync.rs
401
460
tokio-rs/tokio:tokio/tests/async_send_sync.rs:12
assert_value!(tokio::sync::watch::Receiver<YN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::watch::Receiver<YY>: Send & Sync & Unpin); assert_value!(tokio::sync::watch::Ref<'_, NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::watch::Ref<'_, YN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::watch::Re...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
17d8c2b29d94550f504d8fd76d8d8aaf66095864
github
async-runtime
https://github.com/tokio-rs/tokio/blob/17d8c2b29d94550f504d8fd76d8d8aaf66095864/tokio/tests/async_send_sync.rs
441
500
tokio-rs/tokio:tokio/tests/async_send_sync.rs:13
async_assert_fn!(tokio::sync::OnceCell<YY>::get_or_try_init( _, fn() -> Pin<Box<dyn Future<Output = std::io::Result<YY>> + Send>>): Send & !Sync & !Unpin); async_assert_fn!(tokio::sync::OnceCell<YY>::get_or_try_init( _, fn() -> Pin<Box<dyn Future<Output = std::io::Result<YY>>>>): !Send & !Sync & !Unpin); async_assert_f...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
17d8c2b29d94550f504d8fd76d8d8aaf66095864
github
async-runtime
https://github.com/tokio-rs/tokio/blob/17d8c2b29d94550f504d8fd76d8d8aaf66095864/tokio/tests/async_send_sync.rs
481
540
tokio-rs/tokio:tokio/tests/async_send_sync.rs:14
async_assert_fn!(tokio::sync::oneshot::Sender<YN>::closed(_): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::oneshot::Sender<YY>::closed(_): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::watch::Receiver<NN>::changed(_): !Send & !Sync & !Unpin); async_assert_fn!(tokio::sync::watch::Receiver<YN>::changed(_):...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
17d8c2b29d94550f504d8fd76d8d8aaf66095864
github
async-runtime
https://github.com/tokio-rs/tokio/blob/17d8c2b29d94550f504d8fd76d8d8aaf66095864/tokio/tests/async_send_sync.rs
521
580
tokio-rs/tokio:tokio/tests/async_send_sync.rs:15
assert_value!(tokio::time::error::Error: Send & Sync & Unpin); async_assert_fn!(tokio::time::advance(Duration): Send & Sync & !Unpin); async_assert_fn!(tokio::time::sleep(Duration): Send & Sync & !Unpin); async_assert_fn!(tokio::time::sleep_until(Instant): Send & Sync & !Unpin); async_assert_fn!(tokio::time::timeout(Du...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
17d8c2b29d94550f504d8fd76d8d8aaf66095864
github
async-runtime
https://github.com/tokio-rs/tokio/blob/17d8c2b29d94550f504d8fd76d8d8aaf66095864/tokio/tests/async_send_sync.rs
561
620
tokio-rs/tokio:tokio/tests/async_send_sync.rs:16
async_assert_fn!(tokio::io::stdin(): Send & Sync & Unpin); async_assert_fn!(tokio::io::stdout(): Send & Sync & Unpin); async_assert_fn!(tokio::io::Split<tokio::io::BufReader<TcpStream>>::next_segment(_): Send & Sync & !Unpin); async_assert_fn!(tokio::io::Lines<tokio::io::BufReader<TcpStream>>::next_line(_): Send & Sync...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
17d8c2b29d94550f504d8fd76d8d8aaf66095864
github
async-runtime
https://github.com/tokio-rs/tokio/blob/17d8c2b29d94550f504d8fd76d8d8aaf66095864/tokio/tests/async_send_sync.rs
601
660
tokio-rs/tokio:tokio/tests/async_send_sync.rs:17
async_assert_fn!(tokio::io::AsyncSeekExt::seek(&mut BoxAsyncSeek, SeekFrom): Send & Sync & !Unpin); async_assert_fn!(tokio::io::AsyncSeekExt::stream_position(&mut BoxAsyncSeek): Send & Sync & !Unpin); async_assert_fn!(tokio::io::AsyncWriteExt::write(&mut BoxAsyncWrite, &[u8]): Send & Sync & !Unpin); async_assert_fn!( ...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
17d8c2b29d94550f504d8fd76d8d8aaf66095864
github
async-runtime
https://github.com/tokio-rs/tokio/blob/17d8c2b29d94550f504d8fd76d8d8aaf66095864/tokio/tests/async_send_sync.rs
641
700
tokio-rs/tokio:tokio/tests/async_send_sync.rs:18
tokio::io::AsyncWriteExt::write_u128(&mut BoxAsyncWrite, u128): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_i128(&mut BoxAsyncWrite, i128): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_f32(&mut BoxAsyncWrite, f32): Send & Sync & !Unpin ); async_assert_f...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
17d8c2b29d94550f504d8fd76d8d8aaf66095864
github
async-runtime
https://github.com/tokio-rs/tokio/blob/17d8c2b29d94550f504d8fd76d8d8aaf66095864/tokio/tests/async_send_sync.rs
681
740
tokio-rs/tokio:tokio/tests/async_send_sync.rs:19
); async_assert_fn!(tokio::io::AsyncWriteExt::flush(&mut BoxAsyncWrite): Send & Sync & !Unpin); async_assert_fn!(tokio::io::AsyncWriteExt::shutdown(&mut BoxAsyncWrite): Send & Sync & !Unpin); #[cfg(unix)] mod unix_asyncfd { use super::*; use tokio::io::unix::*; #[allow(unused)] struct ImplsFd<T> { ...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
17d8c2b29d94550f504d8fd76d8d8aaf66095864
github
async-runtime
https://github.com/tokio-rs/tokio/blob/17d8c2b29d94550f504d8fd76d8d8aaf66095864/tokio/tests/async_send_sync.rs
721
770
tokio-rs/tokio:tokio/tests/async_send_sync.rs:20
async_assert_fn!(AsyncFd<ImplsFd<NN>>::writable_mut(_): !Send & !Sync & !Unpin); } #[cfg(tokio_unstable)] mod unstable { use super::*; assert_value!(tokio::runtime::LocalRuntime: !Send & !Sync & Unpin); assert_value!(tokio::runtime::LocalOptions: !Send & !Sync & Unpin); }
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
17d8c2b29d94550f504d8fd76d8d8aaf66095864
github
async-runtime
https://github.com/tokio-rs/tokio/blob/17d8c2b29d94550f504d8fd76d8d8aaf66095864/tokio/tests/async_send_sync.rs
761
770
tokio-rs/tokio:tokio/tests/async_send_sync.rs:19
); async_assert_fn!(tokio::io::AsyncWriteExt::flush(&mut BoxAsyncWrite): Send & Sync & !Unpin); async_assert_fn!(tokio::io::AsyncWriteExt::shutdown(&mut BoxAsyncWrite): Send & Sync & !Unpin); #[cfg(unix)] mod unix_asyncfd { use super::*; use tokio::io::unix::*; #[allow(unused)] struct ImplsFd<T> { ...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
4380c3d821e661ee193f11e1cedc8287f354f6fb
github
async-runtime
https://github.com/tokio-rs/tokio/blob/4380c3d821e661ee193f11e1cedc8287f354f6fb/tokio/tests/async_send_sync.rs
721
762
tokio-rs/tokio:tokio/tests/async_send_sync.rs:10
assert_value!(tokio::sync::OwnedMappedMutexGuard<YN,YY>: Send & !Sync & Unpin); assert_value!(tokio::sync::OwnedMappedMutexGuard<YY,NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::OwnedMappedMutexGuard<YY,YN>: Send & !Sync & Unpin); assert_value!(tokio::sync::OwnedMappedMutexGuard<YY,YY>: Send & Sync & Unpin); ...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
9bd6702a3f52c71ab687170f6aeab6142d2282d0
github
async-runtime
https://github.com/tokio-rs/tokio/blob/9bd6702a3f52c71ab687170f6aeab6142d2282d0/tokio/tests/async_send_sync.rs
361
420
tokio-rs/tokio:tokio/tests/async_send_sync.rs:11
assert_value!(tokio::sync::mpsc::Permit<'_, NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::mpsc::Permit<'_, YN>: Send & Sync & Unpin); assert_value!(tokio::sync::mpsc::Permit<'_, YY>: Send & Sync & Unpin); assert_value!(tokio::sync::mpsc::Receiver<NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::mpsc::R...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
9bd6702a3f52c71ab687170f6aeab6142d2282d0
github
async-runtime
https://github.com/tokio-rs/tokio/blob/9bd6702a3f52c71ab687170f6aeab6142d2282d0/tokio/tests/async_send_sync.rs
401
460
tokio-rs/tokio:tokio/tests/async_send_sync.rs:12
assert_value!(tokio::sync::watch::Ref<'_, YN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::watch::Ref<'_, YY>: !Send & Sync & Unpin); assert_value!(tokio::sync::watch::Sender<NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::watch::Sender<YN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::watch::Sende...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
9bd6702a3f52c71ab687170f6aeab6142d2282d0
github
async-runtime
https://github.com/tokio-rs/tokio/blob/9bd6702a3f52c71ab687170f6aeab6142d2282d0/tokio/tests/async_send_sync.rs
441
500
tokio-rs/tokio:tokio/tests/async_send_sync.rs:13
async_assert_fn!(tokio::sync::RwLock<NN>::write(_): !Send & !Sync & !Unpin); async_assert_fn!(tokio::sync::RwLock<YN>::read(_): !Send & !Sync & !Unpin); async_assert_fn!(tokio::sync::RwLock<YN>::write(_): !Send & !Sync & !Unpin); async_assert_fn!(tokio::sync::RwLock<YY>::read(_): Send & Sync & !Unpin); async_assert_fn!...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
9bd6702a3f52c71ab687170f6aeab6142d2282d0
github
async-runtime
https://github.com/tokio-rs/tokio/blob/9bd6702a3f52c71ab687170f6aeab6142d2282d0/tokio/tests/async_send_sync.rs
481
540
tokio-rs/tokio:tokio/tests/async_send_sync.rs:14
async_assert_fn!(tokio::sync::watch::Receiver<YN>::changed(_): !Send & !Sync & !Unpin); async_assert_fn!(tokio::sync::watch::Receiver<YY>::changed(_): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::watch::Sender<NN>::closed(_): !Send & !Sync & !Unpin); async_assert_fn!(tokio::sync::watch::Sender<YN>::closed(_): !...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
9bd6702a3f52c71ab687170f6aeab6142d2282d0
github
async-runtime
https://github.com/tokio-rs/tokio/blob/9bd6702a3f52c71ab687170f6aeab6142d2282d0/tokio/tests/async_send_sync.rs
521
580
tokio-rs/tokio:tokio/tests/async_send_sync.rs:15
async_assert_fn!(tokio::time::sleep_until(Instant): Send & Sync & !Unpin); async_assert_fn!(tokio::time::timeout(Duration, BoxFutureSync<()>): Send & Sync & !Unpin); async_assert_fn!(tokio::time::timeout(Duration, BoxFutureSend<()>): Send & !Sync & !Unpin); async_assert_fn!(tokio::time::timeout(Duration, BoxFuture<()>)...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
9bd6702a3f52c71ab687170f6aeab6142d2282d0
github
async-runtime
https://github.com/tokio-rs/tokio/blob/9bd6702a3f52c71ab687170f6aeab6142d2282d0/tokio/tests/async_send_sync.rs
561
620
tokio-rs/tokio:tokio/tests/async_send_sync.rs:16
async_assert_fn!(tokio::io::Lines<tokio::io::BufReader<TcpStream>>::next_line(_): Send & Sync & !Unpin); async_assert_fn!(tokio::io::AsyncBufReadExt::read_until(&mut BoxAsyncRead, u8, &mut Vec<u8>): Send & Sync & !Unpin); async_assert_fn!( tokio::io::AsyncBufReadExt::read_line(&mut BoxAsyncRead, &mut String): Send ...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
9bd6702a3f52c71ab687170f6aeab6142d2282d0
github
async-runtime
https://github.com/tokio-rs/tokio/blob/9bd6702a3f52c71ab687170f6aeab6142d2282d0/tokio/tests/async_send_sync.rs
601
660
tokio-rs/tokio:tokio/tests/async_send_sync.rs:17
async_assert_fn!( tokio::io::AsyncWriteExt::write_vectored(&mut BoxAsyncWrite, _): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_buf(&mut BoxAsyncWrite, &mut bytes::Bytes): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_all_buf(&mut BoxA...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
9bd6702a3f52c71ab687170f6aeab6142d2282d0
github
async-runtime
https://github.com/tokio-rs/tokio/blob/9bd6702a3f52c71ab687170f6aeab6142d2282d0/tokio/tests/async_send_sync.rs
641
700
tokio-rs/tokio:tokio/tests/async_send_sync.rs:18
tokio::io::AsyncWriteExt::write_i128(&mut BoxAsyncWrite, i128): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_f32(&mut BoxAsyncWrite, f32): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_f64(&mut BoxAsyncWrite, f64): Send & Sync & !Unpin ); async_assert_fn!...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
9bd6702a3f52c71ab687170f6aeab6142d2282d0
github
async-runtime
https://github.com/tokio-rs/tokio/blob/9bd6702a3f52c71ab687170f6aeab6142d2282d0/tokio/tests/async_send_sync.rs
681
740
tokio-rs/tokio:tokio/tests/async_send_sync.rs:19
#[cfg(unix)] mod unix_asyncfd { use super::*; use tokio::io::unix::*; #[allow(unused)] struct ImplsFd<T> { _t: T, } impl<T> std::os::unix::io::AsRawFd for ImplsFd<T> { fn as_raw_fd(&self) -> std::os::unix::io::RawFd { unreachable!() } } assert_value!...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
9bd6702a3f52c71ab687170f6aeab6142d2282d0
github
async-runtime
https://github.com/tokio-rs/tokio/blob/9bd6702a3f52c71ab687170f6aeab6142d2282d0/tokio/tests/async_send_sync.rs
721
759
tokio-rs/tokio:tokio/tests/async_send_sync.rs:10
assert_value!(tokio::sync::OwnedMappedMutexGuard<YN,YY>: Send & !Sync & Unpin); assert_value!(tokio::sync::OwnedMappedMutexGuard<YY,NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::OwnedMappedMutexGuard<YY,YN>: Send & !Sync & Unpin); assert_value!(tokio::sync::OwnedMappedMutexGuard<YY,YY>: Send & Sync & Unpin); ...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
be9328da75c34b14dbbf017c344fee6219985559
github
async-runtime
https://github.com/tokio-rs/tokio/blob/be9328da75c34b14dbbf017c344fee6219985559/tokio/tests/async_send_sync.rs
361
420
tokio-rs/tokio:tokio/tests/async_send_sync.rs:11
assert_value!(tokio::sync::mpsc::Permit<'_, NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::mpsc::Permit<'_, YN>: Send & Sync & Unpin); assert_value!(tokio::sync::mpsc::Permit<'_, YY>: Send & Sync & Unpin); assert_value!(tokio::sync::mpsc::Receiver<NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::mpsc::R...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
be9328da75c34b14dbbf017c344fee6219985559
github
async-runtime
https://github.com/tokio-rs/tokio/blob/be9328da75c34b14dbbf017c344fee6219985559/tokio/tests/async_send_sync.rs
401
460
tokio-rs/tokio:tokio/tests/async_send_sync.rs:12
assert_value!(tokio::task::JoinHandle<NN>: !Send & !Sync & Unpin); assert_value!(tokio::task::JoinHandle<YN>: Send & Sync & Unpin); assert_value!(tokio::task::JoinHandle<YY>: Send & Sync & Unpin); assert_value!(tokio::task::JoinSet<NN>: !Send & !Sync & Unpin); assert_value!(tokio::task::JoinSet<YN>: Send & Sync & Unpin...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
be9328da75c34b14dbbf017c344fee6219985559
github
async-runtime
https://github.com/tokio-rs/tokio/blob/be9328da75c34b14dbbf017c344fee6219985559/tokio/tests/async_send_sync.rs
441
500
tokio-rs/tokio:tokio/tests/async_send_sync.rs:13
async_assert_fn!(tokio::sync::Semaphore::acquire_many(_, u32): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::Semaphore::acquire_many_owned(_, u32): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::Semaphore::acquire_owned(_): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::broadcast::Receiver<NN>::recv(...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
be9328da75c34b14dbbf017c344fee6219985559
github
async-runtime
https://github.com/tokio-rs/tokio/blob/be9328da75c34b14dbbf017c344fee6219985559/tokio/tests/async_send_sync.rs
481
540
tokio-rs/tokio:tokio/tests/async_send_sync.rs:14
async_assert_fn!(tokio::task::JoinSet<Cell<u32>>::shutdown(_): Send & Sync & !Unpin); async_assert_fn!(tokio::task::JoinSet<Rc<u32>>::join_next(_): !Send & !Sync & !Unpin); async_assert_fn!(tokio::task::JoinSet<Rc<u32>>::shutdown(_): !Send & !Sync & !Unpin); async_assert_fn!(tokio::task::JoinSet<u32>::join_next(_): Sen...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
be9328da75c34b14dbbf017c344fee6219985559
github
async-runtime
https://github.com/tokio-rs/tokio/blob/be9328da75c34b14dbbf017c344fee6219985559/tokio/tests/async_send_sync.rs
521
580
tokio-rs/tokio:tokio/tests/async_send_sync.rs:15
async_assert_fn!(tokio::time::timeout_at(Instant, BoxFuture<()>): !Send & !Sync & !Unpin); async_assert_fn!(tokio::time::Interval::tick(_): Send & Sync & !Unpin); assert_value!(tokio::io::BufReader<TcpStream>: Send & Sync & Unpin); assert_value!(tokio::io::BufStream<TcpStream>: Send & Sync & Unpin); assert_value!(toki...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
be9328da75c34b14dbbf017c344fee6219985559
github
async-runtime
https://github.com/tokio-rs/tokio/blob/be9328da75c34b14dbbf017c344fee6219985559/tokio/tests/async_send_sync.rs
561
620
tokio-rs/tokio:tokio/tests/async_send_sync.rs:16
async_assert_fn!(tokio::io::AsyncReadExt::read(&mut BoxAsyncRead, &mut [u8]): Send & Sync & !Unpin); async_assert_fn!(tokio::io::AsyncReadExt::read_buf(&mut BoxAsyncRead, &mut Vec<u8>): Send & Sync & !Unpin); async_assert_fn!( tokio::io::AsyncReadExt::read_exact(&mut BoxAsyncRead, &mut [u8]): Send & Sync & !Unpin )...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
be9328da75c34b14dbbf017c344fee6219985559
github
async-runtime
https://github.com/tokio-rs/tokio/blob/be9328da75c34b14dbbf017c344fee6219985559/tokio/tests/async_send_sync.rs
601
660
tokio-rs/tokio:tokio/tests/async_send_sync.rs:17
& !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_all_buf(&mut BoxAsyncWrite, &mut bytes::Bytes): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_all(&mut BoxAsyncWrite, &[u8]): Send & Sync & !Unpin ); async_assert_fn!(tokio::io::AsyncWriteExt::write_u8(&mut...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
be9328da75c34b14dbbf017c344fee6219985559
github
async-runtime
https://github.com/tokio-rs/tokio/blob/be9328da75c34b14dbbf017c344fee6219985559/tokio/tests/async_send_sync.rs
641
700
tokio-rs/tokio:tokio/tests/async_send_sync.rs:18
tokio::io::AsyncWriteExt::write_f64(&mut BoxAsyncWrite, f64): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_u16_le(&mut BoxAsyncWrite, u16): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_i16_le(&mut BoxAsyncWrite, i16): Send & Sync & !Unpin ); async_assert...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
be9328da75c34b14dbbf017c344fee6219985559
github
async-runtime
https://github.com/tokio-rs/tokio/blob/be9328da75c34b14dbbf017c344fee6219985559/tokio/tests/async_send_sync.rs
681
740
tokio-rs/tokio:tokio/tests/async_send_sync.rs:19
#[allow(unused)] struct ImplsFd<T> { _t: T, } impl<T> std::os::unix::io::AsRawFd for ImplsFd<T> { fn as_raw_fd(&self) -> std::os::unix::io::RawFd { unreachable!() } } assert_value!(AsyncFd<ImplsFd<YY>>: Send & Sync & Unpin); assert_value!(AsyncFd<ImplsFd<YN>>...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
be9328da75c34b14dbbf017c344fee6219985559
github
async-runtime
https://github.com/tokio-rs/tokio/blob/be9328da75c34b14dbbf017c344fee6219985559/tokio/tests/async_send_sync.rs
721
753
tokio-rs/tokio:tokio/tests/async_send_sync.rs:1
#![warn(rust_2018_idioms)] #![cfg(feature = "full")] #![allow(clippy::type_complexity, clippy::diverging_sub_expression)] use std::cell::Cell; use std::future::Future; use std::io::SeekFrom; use std::net::SocketAddr; use std::pin::Pin; use std::rc::Rc; use tokio::net::TcpStream; use tokio::time::{Duration, Instant}; ...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c445e467ce4363b3a9b6825268814a9bc27c0127
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c445e467ce4363b3a9b6825268814a9bc27c0127/tokio/tests/async_send_sync.rs
1
60
tokio-rs/tokio:tokio/tests/async_send_sync.rs:2
type BoxAsyncSeek = std::pin::Pin<Box<dyn tokio::io::AsyncSeek + Send + Sync>>; #[allow(dead_code)] type BoxAsyncWrite = std::pin::Pin<Box<dyn tokio::io::AsyncWrite + Send + Sync>>; #[allow(dead_code)] fn require_send<T: Send>(_t: &T) {} #[allow(dead_code)] fn require_sync<T: Sync>(_t: &T) {} #[allow(dead_code)] fn re...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c445e467ce4363b3a9b6825268814a9bc27c0127
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c445e467ce4363b3a9b6825268814a9bc27c0127/tokio/tests/async_send_sync.rs
41
100
tokio-rs/tokio:tokio/tests/async_send_sync.rs:3
(Send & $(!)?Sync & $(!)?Unpin, $value:expr) => { require_send(&$value); }; (!Send & $(!)?Sync & $(!)?Unpin, $value:expr) => { AmbiguousIfSend::some_item(&$value); }; } macro_rules! async_assert_fn_sync { ($(!)?Send & Sync & $(!)?Unpin, $value:expr) => { require_sync(&$value); ...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c445e467ce4363b3a9b6825268814a9bc27c0127
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c445e467ce4363b3a9b6825268814a9bc27c0127/tokio/tests/async_send_sync.rs
81
140
tokio-rs/tokio:tokio/tests/async_send_sync.rs:4
const _: fn() = || { let f: $type = todo!(); async_assert_fn_send!($($tok)*, f); async_assert_fn_sync!($($tok)*, f); async_assert_fn_unpin!($($tok)*, f); }; }; } macro_rules! cfg_not_wasi { ($($item:item)*) => { $( #[cfg(not(target_os ...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c445e467ce4363b3a9b6825268814a9bc27c0127
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c445e467ce4363b3a9b6825268814a9bc27c0127/tokio/tests/async_send_sync.rs
121
180
tokio-rs/tokio:tokio/tests/async_send_sync.rs:5
assert_value!(tokio::fs::ReadDir: Send & Sync & Unpin); async_assert_fn!(tokio::fs::canonicalize(&str): Send & Sync & !Unpin); async_assert_fn!(tokio::fs::copy(&str, &str): Send & Sync & !Unpin); async_assert_fn!(tokio::fs::create_dir(&str): Send & Sync & !Unpin); async_assert_fn!(tokio...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c445e467ce4363b3a9b6825268814a9bc27c0127
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c445e467ce4363b3a9b6825268814a9bc27c0127/tokio/tests/async_send_sync.rs
161
220
tokio-rs/tokio:tokio/tests/async_send_sync.rs:6
async_assert_fn!(tokio::net::TcpListener::bind(SocketAddr): Send & Sync & !Unpin); async_assert_fn!(tokio::net::TcpStream::connect(SocketAddr): Send & Sync & !Unpin); } assert_value!(tokio::net::TcpListener: Send & Sync & Unpin); assert_value!(tokio::net::TcpStream: Send & Sync & Unpin); assert_value!(tokio::net::...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c445e467ce4363b3a9b6825268814a9bc27c0127
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c445e467ce4363b3a9b6825268814a9bc27c0127/tokio/tests/async_send_sync.rs
201
260
tokio-rs/tokio:tokio/tests/async_send_sync.rs:7
use tokio::net::*; assert_value!(UnixDatagram: Send & Sync & Unpin); assert_value!(UnixListener: Send & Sync & Unpin); assert_value!(UnixStream: Send & Sync & Unpin); assert_value!(unix::OwnedReadHalf: Send & Sync & Unpin); assert_value!(unix::OwnedWriteHalf: Send & Sync & Unpin); assert_value!(...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c445e467ce4363b3a9b6825268814a9bc27c0127
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c445e467ce4363b3a9b6825268814a9bc27c0127/tokio/tests/async_send_sync.rs
241
300
tokio-rs/tokio:tokio/tests/async_send_sync.rs:8
use super::*; use tokio::net::windows::named_pipe::*; assert_value!(ClientOptions: Send & Sync & Unpin); assert_value!(NamedPipeClient: Send & Sync & Unpin); assert_value!(NamedPipeServer: Send & Sync & Unpin); assert_value!(PipeEnd: Send & Sync & Unpin); assert_value!(PipeInfo: Send & Sync & Un...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c445e467ce4363b3a9b6825268814a9bc27c0127
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c445e467ce4363b3a9b6825268814a9bc27c0127/tokio/tests/async_send_sync.rs
281
340
tokio-rs/tokio:tokio/tests/async_send_sync.rs:9
} #[cfg(windows)] mod windows_signal { use super::*; assert_value!(tokio::signal::windows::CtrlC: Send & Sync & Unpin); assert_value!(tokio::signal::windows::CtrlBreak: Send & Sync & Unpin); async_assert_fn!(tokio::signal::windows::CtrlC::recv(_): Send & Sync & !Unpin); async_assert_fn!(tokio::signa...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c445e467ce4363b3a9b6825268814a9bc27c0127
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c445e467ce4363b3a9b6825268814a9bc27c0127/tokio/tests/async_send_sync.rs
321
380
tokio-rs/tokio:tokio/tests/async_send_sync.rs:10
assert_value!(tokio::sync::OwnedRwLockMappedWriteGuard<YY>: Send & Sync & Unpin); assert_value!(tokio::sync::OwnedRwLockReadGuard<NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::OwnedRwLockReadGuard<YN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::OwnedRwLockReadGuard<YY>: Send & Sync & Unpin); assert_va...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c445e467ce4363b3a9b6825268814a9bc27c0127
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c445e467ce4363b3a9b6825268814a9bc27c0127/tokio/tests/async_send_sync.rs
361
420
tokio-rs/tokio:tokio/tests/async_send_sync.rs:11
assert_value!(tokio::sync::mpsc::Sender<NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::mpsc::Sender<YN>: Send & Sync & Unpin); assert_value!(tokio::sync::mpsc::Sender<YY>: Send & Sync & Unpin); assert_value!(tokio::sync::mpsc::UnboundedReceiver<NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::mpsc::Unbo...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c445e467ce4363b3a9b6825268814a9bc27c0127
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c445e467ce4363b3a9b6825268814a9bc27c0127/tokio/tests/async_send_sync.rs
401
460
tokio-rs/tokio:tokio/tests/async_send_sync.rs:12
assert_value!(tokio::task::LocalSet: !Send & !Sync & Unpin); async_assert_fn!(tokio::sync::Barrier::wait(_): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::Mutex<NN>::lock(_): !Send & !Sync & !Unpin); async_assert_fn!(tokio::sync::Mutex<NN>::lock_owned(_): !Send & !Sync & !Unpin); async_assert_fn!(tokio::sync::Mu...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c445e467ce4363b3a9b6825268814a9bc27c0127
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c445e467ce4363b3a9b6825268814a9bc27c0127/tokio/tests/async_send_sync.rs
441
500
tokio-rs/tokio:tokio/tests/async_send_sync.rs:13
async_assert_fn!(tokio::sync::mpsc::Receiver<NN>::recv(_): !Send & !Sync & !Unpin); async_assert_fn!(tokio::sync::mpsc::Receiver<YN>::recv(_): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::mpsc::Receiver<YY>::recv(_): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::mpsc::Sender<NN>::closed(_): !Send & !Sync...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c445e467ce4363b3a9b6825268814a9bc27c0127
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c445e467ce4363b3a9b6825268814a9bc27c0127/tokio/tests/async_send_sync.rs
481
540
tokio-rs/tokio:tokio/tests/async_send_sync.rs:14
async_assert_fn!(tokio::task::LocalKey<Cell<u32>>::scope(_, Cell<u32>, BoxFutureSend<()>): Send & !Sync & !Unpin); async_assert_fn!(tokio::task::LocalKey<Cell<u32>>::scope(_, Cell<u32>, BoxFutureSync<()>): Send & !Sync & !Unpin); async_assert_fn!(tokio::task::LocalKey<Rc<u32>>::scope(_, Rc<u32>, BoxFuture<()>): !Send &...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c445e467ce4363b3a9b6825268814a9bc27c0127
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c445e467ce4363b3a9b6825268814a9bc27c0127/tokio/tests/async_send_sync.rs
521
580
tokio-rs/tokio:tokio/tests/async_send_sync.rs:15
assert_value!(tokio::io::DuplexStream: Send & Sync & Unpin); assert_value!(tokio::io::Empty: Send & Sync & Unpin); assert_value!(tokio::io::Interest: Send & Sync & Unpin); assert_value!(tokio::io::Lines<TcpStream>: Send & Sync & Unpin); assert_value!(tokio::io::ReadBuf<'_>: Send & Sync & Unpin); assert_value!(tokio::io...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c445e467ce4363b3a9b6825268814a9bc27c0127
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c445e467ce4363b3a9b6825268814a9bc27c0127/tokio/tests/async_send_sync.rs
561
620
tokio-rs/tokio:tokio/tests/async_send_sync.rs:16
async_assert_fn!(tokio::io::AsyncReadExt::read_i8(&mut BoxAsyncRead): Send & Sync & !Unpin); async_assert_fn!(tokio::io::AsyncReadExt::read_u16(&mut BoxAsyncRead): Send & Sync & !Unpin); async_assert_fn!(tokio::io::AsyncReadExt::read_i16(&mut BoxAsyncRead): Send & Sync & !Unpin); async_assert_fn!(tokio::io::AsyncReadEx...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c445e467ce4363b3a9b6825268814a9bc27c0127
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c445e467ce4363b3a9b6825268814a9bc27c0127/tokio/tests/async_send_sync.rs
601
660
tokio-rs/tokio:tokio/tests/async_send_sync.rs:17
); async_assert_fn!( tokio::io::AsyncWriteExt::write_all(&mut BoxAsyncWrite, &[u8]): Send & Sync & !Unpin ); async_assert_fn!(tokio::io::AsyncWriteExt::write_u8(&mut BoxAsyncWrite, u8): Send & Sync & !Unpin); async_assert_fn!(tokio::io::AsyncWriteExt::write_i8(&mut BoxAsyncWrite, i8): Send & Sync & !Unpin); async_a...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c445e467ce4363b3a9b6825268814a9bc27c0127
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c445e467ce4363b3a9b6825268814a9bc27c0127/tokio/tests/async_send_sync.rs
641
700
tokio-rs/tokio:tokio/tests/async_send_sync.rs:18
tokio::io::AsyncWriteExt::write_i16_le(&mut BoxAsyncWrite, i16): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_u32_le(&mut BoxAsyncWrite, u32): Send & Sync & !Unpin ); async_assert_fn!( tokio::io::AsyncWriteExt::write_i32_le(&mut BoxAsyncWrite, i32): Send & Sync & !Unpin ); async_ass...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c445e467ce4363b3a9b6825268814a9bc27c0127
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c445e467ce4363b3a9b6825268814a9bc27c0127/tokio/tests/async_send_sync.rs
681
740
tokio-rs/tokio:tokio/tests/async_send_sync.rs:19
} } assert_value!(AsyncFd<ImplsFd<YY>>: Send & Sync & Unpin); assert_value!(AsyncFd<ImplsFd<YN>>: Send & !Sync & Unpin); assert_value!(AsyncFd<ImplsFd<NN>>: !Send & !Sync & Unpin); assert_value!(AsyncFdReadyGuard<'_, ImplsFd<YY>>: Send & Sync & Unpin); assert_value!(AsyncFdReadyGuard<'_, ImplsF...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
c445e467ce4363b3a9b6825268814a9bc27c0127
github
async-runtime
https://github.com/tokio-rs/tokio/blob/c445e467ce4363b3a9b6825268814a9bc27c0127/tokio/tests/async_send_sync.rs
721
746
tokio-rs/tokio:tokio/tests/async_send_sync.rs:3
(Send & $(!)?Sync & $(!)?Unpin, $value:expr) => { require_send(&$value); }; (!Send & $(!)?Sync & $(!)?Unpin, $value:expr) => { AmbiguousIfSend::some_item(&$value); }; } macro_rules! async_assert_fn_sync { ($(!)?Send & Sync & $(!)?Unpin, $value:expr) => { require_sync(&$value); ...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
e75ca93d30e6d2f7a165882d46d8b55fa3e8cb78
github
async-runtime
https://github.com/tokio-rs/tokio/blob/e75ca93d30e6d2f7a165882d46d8b55fa3e8cb78/tokio/tests/async_send_sync.rs
81
140
tokio-rs/tokio:tokio/tests/async_send_sync.rs:4
const _: fn() = || { let f: $type = todo!(); async_assert_fn_send!($($tok)*, f); async_assert_fn_sync!($($tok)*, f); async_assert_fn_unpin!($($tok)*, f); }; }; } macro_rules! cfg_not_wasi { ($($item:item)*) => { $( #[cfg(not(tokio_wasi...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
e75ca93d30e6d2f7a165882d46d8b55fa3e8cb78
github
async-runtime
https://github.com/tokio-rs/tokio/blob/e75ca93d30e6d2f7a165882d46d8b55fa3e8cb78/tokio/tests/async_send_sync.rs
121
180
tokio-rs/tokio:tokio/tests/async_send_sync.rs:13
async_assert_fn!(tokio::sync::mpsc::Receiver<NN>::recv(_): !Send & !Sync & !Unpin); async_assert_fn!(tokio::sync::mpsc::Receiver<YN>::recv(_): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::mpsc::Receiver<YY>::recv(_): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::mpsc::Sender<NN>::closed(_): !Send & !Sync...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
5a3abe56eeb03b383a994375026b370161a05946
github
async-runtime
https://github.com/tokio-rs/tokio/blob/5a3abe56eeb03b383a994375026b370161a05946/tokio/tests/async_send_sync.rs
481
540
tokio-rs/tokio:tokio/tests/async_send_sync.rs:14
async_assert_fn!(tokio::task::LocalKey<Cell<u32>>::scope(_, Cell<u32>, BoxFutureSend<()>): Send & !Sync & !Unpin); async_assert_fn!(tokio::task::LocalKey<Cell<u32>>::scope(_, Cell<u32>, BoxFutureSync<()>): Send & !Sync & !Unpin); async_assert_fn!(tokio::task::LocalKey<Rc<u32>>::scope(_, Rc<u32>, BoxFuture<()>): !Send &...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
5a3abe56eeb03b383a994375026b370161a05946
github
async-runtime
https://github.com/tokio-rs/tokio/blob/5a3abe56eeb03b383a994375026b370161a05946/tokio/tests/async_send_sync.rs
521
580
tokio-rs/tokio:tokio/tests/async_send_sync.rs:7
use tokio::net::*; assert_value!(UnixDatagram: Send & Sync & Unpin); assert_value!(UnixListener: Send & Sync & Unpin); assert_value!(UnixStream: Send & Sync & Unpin); assert_value!(unix::OwnedReadHalf: Send & Sync & Unpin); assert_value!(unix::OwnedWriteHalf: Send & Sync & Unpin); assert_value!(...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
2e0372be6f2fd03e5534aa73e6970c9a6e7bcd69
github
async-runtime
https://github.com/tokio-rs/tokio/blob/2e0372be6f2fd03e5534aa73e6970c9a6e7bcd69/tokio/tests/async_send_sync.rs
241
300
tokio-rs/tokio:tokio/tests/async_send_sync.rs:8
async_assert_fn!(NamedPipeServer::readable(_): Send & Sync & !Unpin); async_assert_fn!(NamedPipeServer::ready(_, tokio::io::Interest): Send & Sync & !Unpin); async_assert_fn!(NamedPipeServer::writable(_): Send & Sync & !Unpin); } cfg_not_wasi! { mod test_process { use super::*; assert_value...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
2e0372be6f2fd03e5534aa73e6970c9a6e7bcd69
github
async-runtime
https://github.com/tokio-rs/tokio/blob/2e0372be6f2fd03e5534aa73e6970c9a6e7bcd69/tokio/tests/async_send_sync.rs
281
340
tokio-rs/tokio:tokio/tests/async_send_sync.rs:9
assert_value!(tokio::sync::MappedMutexGuard<'_, NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::MappedMutexGuard<'_, YN>: Send & !Sync & Unpin); assert_value!(tokio::sync::MappedMutexGuard<'_, YY>: Send & Sync & Unpin); assert_value!(tokio::sync::Mutex<NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::Mut...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
2e0372be6f2fd03e5534aa73e6970c9a6e7bcd69
github
async-runtime
https://github.com/tokio-rs/tokio/blob/2e0372be6f2fd03e5534aa73e6970c9a6e7bcd69/tokio/tests/async_send_sync.rs
321
380
tokio-rs/tokio:tokio/tests/async_send_sync.rs:10
assert_value!(tokio::sync::RwLockMappedWriteGuard<'_, YY>: Send & Sync & Unpin); assert_value!(tokio::sync::RwLockReadGuard<'_, NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::RwLockReadGuard<'_, YN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::RwLockReadGuard<'_, YY>: Send & Sync & Unpin); assert_value!...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
2e0372be6f2fd03e5534aa73e6970c9a6e7bcd69
github
async-runtime
https://github.com/tokio-rs/tokio/blob/2e0372be6f2fd03e5534aa73e6970c9a6e7bcd69/tokio/tests/async_send_sync.rs
361
420
tokio-rs/tokio:tokio/tests/async_send_sync.rs:11
assert_value!(tokio::sync::mpsc::error::SendTimeoutError<YN>: Send & !Sync & Unpin); assert_value!(tokio::sync::mpsc::error::SendTimeoutError<YY>: Send & Sync & Unpin); assert_value!(tokio::sync::mpsc::error::TrySendError<NN>: !Send & !Sync & Unpin); assert_value!(tokio::sync::mpsc::error::TrySendError<YN>: Send & !Syn...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
2e0372be6f2fd03e5534aa73e6970c9a6e7bcd69
github
async-runtime
https://github.com/tokio-rs/tokio/blob/2e0372be6f2fd03e5534aa73e6970c9a6e7bcd69/tokio/tests/async_send_sync.rs
401
460
tokio-rs/tokio:tokio/tests/async_send_sync.rs:12
async_assert_fn!(tokio::sync::OnceCell<NN>::get_or_try_init( _, fn() -> Pin<Box<dyn Future<Output = std::io::Result<NN>> + Send>>): !Send & !Sync & !Unpin); async_assert_fn!(tokio::sync::OnceCell<NN>::get_or_try_init( _, fn() -> Pin<Box<dyn Future<Output = std::io::Result<NN>>>>): !Send & !Sync & !Unpin); async_assert_...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
2e0372be6f2fd03e5534aa73e6970c9a6e7bcd69
github
async-runtime
https://github.com/tokio-rs/tokio/blob/2e0372be6f2fd03e5534aa73e6970c9a6e7bcd69/tokio/tests/async_send_sync.rs
441
500
tokio-rs/tokio:tokio/tests/async_send_sync.rs:13
async_assert_fn!(tokio::sync::mpsc::Sender<YY>::closed(_): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::mpsc::Sender<YY>::reserve(_): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::mpsc::Sender<YY>::reserve_owned(_): Send & Sync & !Unpin); async_assert_fn!(tokio::sync::mpsc::Sender<YY>::send(_, YY): Send ...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
2e0372be6f2fd03e5534aa73e6970c9a6e7bcd69
github
async-runtime
https://github.com/tokio-rs/tokio/blob/2e0372be6f2fd03e5534aa73e6970c9a6e7bcd69/tokio/tests/async_send_sync.rs
481
540
tokio-rs/tokio:tokio/tests/async_send_sync.rs:14
assert_value!(tokio::runtime::Builder: Send & Sync & Unpin); assert_value!(tokio::runtime::EnterGuard<'_>: Send & Sync & Unpin); assert_value!(tokio::runtime::Handle: Send & Sync & Unpin); assert_value!(tokio::runtime::Runtime: Send & Sync & Unpin); assert_value!(tokio::time::Interval: Send & Sync & Unpin); assert_val...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
2e0372be6f2fd03e5534aa73e6970c9a6e7bcd69
github
async-runtime
https://github.com/tokio-rs/tokio/blob/2e0372be6f2fd03e5534aa73e6970c9a6e7bcd69/tokio/tests/async_send_sync.rs
521
580
tokio-rs/tokio:tokio/tests/async_send_sync.rs:15
assert_value!(tokio::io::Take<TcpStream>: Send & Sync & Unpin); assert_value!(tokio::io::WriteHalf<TcpStream>: Send & Sync & Unpin); async_assert_fn!(tokio::io::copy(&mut TcpStream, &mut TcpStream): Send & Sync & !Unpin); async_assert_fn!( tokio::io::copy_bidirectional(&mut TcpStream, &mut TcpStream): Send & Sync &...
rust
rust
testsuite
tokio-rs/tokio
tokio/tests/async_send_sync.rs
MIT
2e0372be6f2fd03e5534aa73e6970c9a6e7bcd69
github
async-runtime
https://github.com/tokio-rs/tokio/blob/2e0372be6f2fd03e5534aa73e6970c9a6e7bcd69/tokio/tests/async_send_sync.rs
561
620