Lines Matching full:send
3 //! Assert Send/Sync/Unpin for all public types.
17 pub type SendFuture<T = *const ()> = Pin<Box<dyn Future<Output = T> + Send>>;
21 pub type SendSyncFuture<T = *const ()> = Pin<Box<dyn Future<Output = T> + Send + Sync>>;
36 pub type SendStream<T = *const ()> = Pin<Box<dyn Stream<Item = T> + Send>>;
40 pub type SendSyncStream<T = *const ()> = Pin<Box<dyn Stream<Item = T> + Send + Sync>>;
54 pub type SendSink<T = *const (), E = *const ()> = Pin<Box<dyn Sink<T, Error = E> + Send>>;
74 /// Assert Send/Sync/Unpin for all public types in `futures::channel`.
79 assert_impl!(mpsc::Receiver<()>: Send);
80 assert_not_impl!(mpsc::Receiver<*const ()>: Send);
85 assert_impl!(mpsc::SendError: Send);
89 assert_impl!(mpsc::Sender<()>: Send);
90 assert_not_impl!(mpsc::Sender<*const ()>: Send);
95 assert_impl!(mpsc::TryRecvError: Send);
99 assert_impl!(mpsc::TrySendError<()>: Send);
100 assert_not_impl!(mpsc::TrySendError<*const ()>: Send);
106 assert_impl!(mpsc::UnboundedReceiver<()>: Send);
107 assert_not_impl!(mpsc::UnboundedReceiver<*const ()>: Send);
112 assert_impl!(mpsc::UnboundedReceiver<()>: Send);
113 assert_not_impl!(mpsc::UnboundedReceiver<*const ()>: Send);
118 assert_impl!(oneshot::Canceled: Send);
122 assert_impl!(oneshot::Cancellation<()>: Send);
123 assert_not_impl!(oneshot::Cancellation<*const ()>: Send);
128 assert_impl!(oneshot::Receiver<()>: Send);
129 assert_not_impl!(oneshot::Receiver<*const ()>: Send);
134 assert_impl!(oneshot::Sender<()>: Send);
135 assert_not_impl!(oneshot::Sender<*const ()>: Send);
141 /// Assert Send/Sync/Unpin for all public types in `futures::compat`.
146 assert_impl!(Compat<()>: Send);
147 assert_not_impl!(Compat<*const ()>: Send);
153 assert_impl!(Compat01As03<()>: Send);
154 assert_not_impl!(Compat01As03<*const ()>: Send);
158 assert_impl!(Compat01As03Sink<(), ()>: Send);
159 assert_not_impl!(Compat01As03Sink<(), *const ()>: Send);
160 assert_not_impl!(Compat01As03Sink<*const (), ()>: Send);
164 assert_impl!(CompatSink<(), *const ()>: Send);
165 assert_not_impl!(CompatSink<*const (), ()>: Send);
171 assert_impl!(Executor01As03<()>: Send);
172 assert_not_impl!(Executor01As03<*const ()>: Send);
178 assert_impl!(Executor01Future: Send);
183 /// Assert Send/Sync/Unpin for all public types in `futures::executor`.
188 assert_impl!(BlockingStream<SendStream>: Send);
189 assert_not_impl!(BlockingStream<LocalStream>: Send);
196 assert_impl!(Enter: Send);
200 assert_impl!(EnterError: Send);
204 assert_not_impl!(LocalPool: Send);
208 assert_not_impl!(LocalSpawner: Send);
212 assert_impl!(ThreadPool: Send);
216 assert_impl!(ThreadPoolBuilder: Send);
221 /// Assert Send/Sync/Unpin for all public types in `futures::future`.
226 assert_impl!(AbortHandle: Send);
230 assert_impl!(AbortRegistration: Send);
234 assert_impl!(Abortable<SendFuture>: Send);
235 assert_not_impl!(Abortable<LocalFuture>: Send);
241 assert_impl!(Aborted: Send);
245 assert_impl!(AndThen<SendFuture, SendFuture, ()>: Send);
246 assert_not_impl!(AndThen<SendFuture, LocalFuture, ()>: Send);
247 assert_not_impl!(AndThen<LocalFuture, SendFuture, ()>: Send);
248 assert_not_impl!(AndThen<SendFuture, SendFuture, *const ()>: Send);
257 assert_impl!(CatchUnwind<SendFuture>: Send);
258 assert_not_impl!(CatchUnwind<LocalFuture>: Send);
264 assert_impl!(ErrInto<SendTryFuture, *const ()>: Send);
265 assert_not_impl!(ErrInto<LocalTryFuture, ()>: Send);
271 assert_impl!(Flatten<SendFuture<()>>: Send);
272 assert_not_impl!(Flatten<LocalFuture>: Send);
273 assert_not_impl!(Flatten<SendFuture>: Send);
281 assert_impl!(FlattenSink<SendFuture, ()>: Send);
282 assert_not_impl!(FlattenSink<SendFuture, *const ()>: Send);
283 assert_not_impl!(FlattenSink<LocalFuture, ()>: Send);
291 assert_impl!(FlattenStream<SendFuture<()>>: Send);
292 assert_not_impl!(FlattenStream<LocalFuture>: Send);
293 assert_not_impl!(FlattenStream<SendFuture>: Send);
301 assert_impl!(Fuse<SendFuture>: Send);
302 assert_not_impl!(Fuse<LocalFuture>: Send);
308 assert_impl!(FutureObj<*const ()>: Send);
312 assert_impl!(Inspect<SendFuture, ()>: Send);
313 assert_not_impl!(Inspect<SendFuture, *const ()>: Send);
314 assert_not_impl!(Inspect<LocalFuture, ()>: Send);
321 assert_impl!(InspectErr<SendFuture, ()>: Send);
322 assert_not_impl!(InspectErr<SendFuture, *const ()>: Send);
323 assert_not_impl!(InspectErr<LocalFuture, ()>: Send);
330 assert_impl!(InspectOk<SendFuture, ()>: Send);
331 assert_not_impl!(InspectOk<SendFuture, *const ()>: Send);
332 assert_not_impl!(InspectOk<LocalFuture, ()>: Send);
339 assert_impl!(IntoFuture<SendFuture>: Send);
340 assert_not_impl!(IntoFuture<LocalFuture>: Send);
346 assert_impl!(IntoStream<SendFuture>: Send);
347 assert_not_impl!(IntoStream<LocalFuture>: Send);
353 assert_impl!(Join<SendFuture<()>, SendFuture<()>>: Send);
354 assert_not_impl!(Join<SendFuture<()>, SendFuture>: Send);
355 assert_not_impl!(Join<SendFuture, SendFuture<()>>: Send);
356 assert_not_impl!(Join<SendFuture, LocalFuture>: Send);
357 assert_not_impl!(Join<LocalFuture, SendFuture>: Send);
369 assert_impl!(JoinAll<SendFuture<()>>: Send);
370 assert_not_impl!(JoinAll<LocalFuture>: Send);
371 assert_not_impl!(JoinAll<SendFuture>: Send);
378 assert_impl!(Lazy<()>: Send);
379 assert_not_impl!(Lazy<*const ()>: Send);
384 assert_not_impl!(LocalFutureObj<()>: Send);
388 assert_impl!(Map<SendFuture, ()>: Send);
389 assert_not_impl!(Map<SendFuture, *const ()>: Send);
390 assert_not_impl!(Map<LocalFuture, ()>: Send);
397 assert_impl!(MapErr<SendFuture, ()>: Send);
398 assert_not_impl!(MapErr<SendFuture, *const ()>: Send);
399 assert_not_impl!(MapErr<LocalFuture, ()>: Send);
406 assert_impl!(MapInto<SendFuture, *const ()>: Send);
407 assert_not_impl!(MapInto<LocalFuture, ()>: Send);
413 assert_impl!(MapOk<SendFuture, ()>: Send);
414 assert_not_impl!(MapOk<SendFuture, *const ()>: Send);
415 assert_not_impl!(MapOk<LocalFuture, ()>: Send);
422 assert_impl!(MapOkOrElse<SendFuture, (), ()>: Send);
423 assert_not_impl!(MapOkOrElse<SendFuture, (), *const ()>: Send);
424 assert_not_impl!(MapOkOrElse<SendFuture, *const (), ()>: Send);
425 assert_not_impl!(MapOkOrElse<LocalFuture, (), ()>: Send);
433 assert_impl!(NeverError<SendFuture>: Send);
434 assert_not_impl!(NeverError<LocalFuture>: Send);
440 assert_impl!(OkInto<SendFuture, *const ()>: Send);
441 assert_not_impl!(OkInto<LocalFuture, ()>: Send);
447 assert_impl!(OptionFuture<SendFuture>: Send);
448 assert_not_impl!(OptionFuture<LocalFuture>: Send);
454 assert_impl!(OrElse<SendFuture, SendFuture, ()>: Send);
455 assert_not_impl!(OrElse<SendFuture, LocalFuture, ()>: Send);
456 assert_not_impl!(OrElse<LocalFuture, SendFuture, ()>: Send);
457 assert_not_impl!(OrElse<SendFuture, SendFuture, *const ()>: Send);
466 assert_impl!(Pending<()>: Send);
467 assert_not_impl!(Pending<*const ()>: Send);
472 assert_impl!(PollFn<()>: Send);
473 assert_not_impl!(PollFn<*const ()>: Send);
478 assert_impl!(PollImmediate<SendStream>: Send);
479 assert_not_impl!(PollImmediate<LocalStream<()>>: Send);
485 assert_impl!(Ready<()>: Send);
486 assert_not_impl!(Ready<*const ()>: Send);
491 assert_impl!(Remote<SendFuture<()>>: Send);
492 assert_not_impl!(Remote<LocalFuture>: Send);
493 assert_not_impl!(Remote<SendFuture>: Send);
500 assert_impl!(RemoteHandle<()>: Send);
501 assert_not_impl!(RemoteHandle<*const ()>: Send);
506 assert_impl!(Select<SendFuture, SendFuture>: Send);
507 assert_not_impl!(Select<SendFuture, LocalFuture>: Send);
508 assert_not_impl!(Select<LocalFuture, SendFuture>: Send);
516 assert_impl!(SelectAll<SendFuture>: Send);
517 assert_not_impl!(SelectAll<LocalFuture>: Send);
523 assert_impl!(SelectOk<SendFuture>: Send);
524 assert_not_impl!(SelectOk<LocalFuture>: Send);
530 assert_impl!(Shared<SendFuture<()>>: Send);
531 assert_not_impl!(Shared<SendFuture>: Send);
532 assert_not_impl!(Shared<LocalFuture>: Send);
536 assert_impl!(Then<SendFuture, SendFuture, ()>: Send);
537 assert_not_impl!(Then<SendFuture, SendFuture, *const ()>: Send);
538 assert_not_impl!(Then<SendFuture, LocalFuture, ()>: Send);
539 assert_not_impl!(Then<LocalFuture, SendFuture, ()>: Send);
548 assert_impl!(TryFlatten<SendTryFuture<()>, ()>: Send);
549 assert_not_impl!(TryFlatten<LocalTryFuture, ()>: Send);
550 assert_not_impl!(TryFlatten<SendTryFuture, *const ()>: Send);
558 assert_impl!(TryFlattenStream<SendTryFuture<()>>: Send);
559 assert_not_impl!(TryFlattenStream<LocalTryFuture>: Send);
560 assert_not_impl!(TryFlattenStream<SendTryFuture>: Send);
568 assert_impl!(TryJoin<SendTryFuture<()>, SendTryFuture<()>>: Send);
569 assert_not_impl!(TryJoin<SendTryFuture<()>, SendTryFuture>: Send);
570 assert_not_impl!(TryJoin<SendTryFuture, SendTryFuture<()>>: Send);
571 assert_not_impl!(TryJoin<SendTryFuture, LocalTryFuture>: Send);
572 assert_not_impl!(TryJoin<LocalTryFuture, SendTryFuture>: Send);
584 assert_impl!(TryJoinAll<SendTryFuture<(), ()>>: Send);
585 assert_not_impl!(TryJoinAll<LocalTryFuture>: Send);
586 assert_not_impl!(TryJoinAll<SendTryFuture>: Send);
593 assert_impl!(TrySelect<SendFuture, SendFuture>: Send);
594 assert_not_impl!(TrySelect<SendFuture, LocalFuture>: Send);
595 assert_not_impl!(TrySelect<LocalFuture, SendFuture>: Send);
603 assert_impl!(UnitError<SendFuture>: Send);
604 assert_not_impl!(UnitError<LocalFuture>: Send);
610 assert_impl!(UnwrapOrElse<SendFuture, ()>: Send);
611 assert_not_impl!(UnwrapOrElse<SendFuture, *const ()>: Send);
612 assert_not_impl!(UnwrapOrElse<LocalFuture, ()>: Send);
619 assert_impl!(WeakShared<SendFuture<()>>: Send);
620 assert_not_impl!(WeakShared<SendFuture>: Send);
621 assert_not_impl!(WeakShared<LocalFuture>: Send);
625 assert_impl!(Either<SendFuture, SendFuture>: Send);
626 assert_not_impl!(Either<SendFuture, LocalFuture>: Send);
627 assert_not_impl!(Either<LocalFuture, SendFuture>: Send);
635 assert_impl!(MaybeDone<SendFuture<()>>: Send);
636 assert_not_impl!(MaybeDone<SendFuture>: Send);
637 assert_not_impl!(MaybeDone<LocalFuture>: Send);
644 assert_impl!(TryMaybeDone<SendTryFuture<()>>: Send);
645 assert_not_impl!(TryMaybeDone<SendTryFuture>: Send);
646 assert_not_impl!(TryMaybeDone<LocalTryFuture>: Send);
654 /// Assert Send/Sync/Unpin for all public types in `futures::io`.
659 assert_impl!(AllowStdIo<()>: Send);
660 assert_not_impl!(AllowStdIo<*const ()>: Send);
665 assert_impl!(BufReader<()>: Send);
666 assert_not_impl!(BufReader<*const ()>: Send);
672 assert_impl!(BufWriter<()>: Send);
673 assert_not_impl!(BufWriter<*const ()>: Send);
679 assert_impl!(Chain<(), ()>: Send);
680 assert_not_impl!(Chain<(), *const ()>: Send);
681 assert_not_impl!(Chain<*const (), ()>: Send);
689 assert_impl!(Close<'_, ()>: Send);
690 assert_not_impl!(Close<'_, *const ()>: Send);
696 assert_impl!(Copy<(), ()>: Send);
697 assert_not_impl!(Copy<(), *const ()>: Send);
698 assert_not_impl!(Copy<*const (), ()>: Send);
705 assert_impl!(CopyBuf<(), ()>: Send);
706 assert_not_impl!(CopyBuf<(), *const ()>: Send);
707 assert_not_impl!(CopyBuf<*const (), ()>: Send);
714 assert_impl!(Cursor<()>: Send);
715 assert_not_impl!(Cursor<*const ()>: Send);
721 assert_impl!(Empty: Send);
725 assert_impl!(FillBuf<'_, ()>: Send);
726 assert_not_impl!(FillBuf<'_, *const ()>: Send);
731 assert_impl!(Flush<'_, ()>: Send);
732 assert_not_impl!(Flush<'_, *const ()>: Send);
738 assert_impl!(IntoSink<(), ()>: Send);
739 assert_not_impl!(IntoSink<(), *const ()>: Send);
740 assert_not_impl!(IntoSink<*const (), ()>: Send);
747 assert_impl!(Lines<()>: Send);
748 assert_not_impl!(Lines<*const ()>: Send);
754 assert_impl!(Read<'_, ()>: Send);
755 assert_not_impl!(Read<'_, *const ()>: Send);
761 assert_impl!(ReadExact<'_, ()>: Send);
762 assert_not_impl!(ReadExact<'_, *const ()>: Send);
768 assert_impl!(ReadHalf<()>: Send);
769 assert_not_impl!(ReadHalf<*const ()>: Send);
774 assert_impl!(ReadLine<'_, ()>: Send);
775 assert_not_impl!(ReadLine<'_, *const ()>: Send);
781 assert_impl!(ReadToEnd<'_, ()>: Send);
782 assert_not_impl!(ReadToEnd<'_, *const ()>: Send);
788 assert_impl!(ReadToString<'_, ()>: Send);
789 assert_not_impl!(ReadToString<'_, *const ()>: Send);
795 assert_impl!(ReadUntil<'_, ()>: Send);
796 assert_not_impl!(ReadUntil<'_, *const ()>: Send);
802 assert_impl!(ReadVectored<'_, ()>: Send);
803 assert_not_impl!(ReadVectored<'_, *const ()>: Send);
809 assert_impl!(Repeat: Send);
813 assert_impl!(ReuniteError<()>: Send);
814 assert_not_impl!(ReuniteError<*const ()>: Send);
819 assert_impl!(Seek<'_, ()>: Send);
820 assert_not_impl!(Seek<'_, *const ()>: Send);
826 assert_impl!(SeeKRelative<'_, ()>: Send);
827 assert_not_impl!(SeeKRelative<'_, *const ()>: Send);
832 assert_impl!(Sink: Send);
836 assert_impl!(Take<()>: Send);
837 assert_not_impl!(Take<*const ()>: Send);
843 assert_impl!(Window<()>: Send);
844 assert_not_impl!(Window<*const ()>: Send);
850 assert_impl!(Write<'_, ()>: Send);
851 assert_not_impl!(Write<'_, *const ()>: Send);
857 assert_impl!(WriteAll<'_, ()>: Send);
858 assert_not_impl!(WriteAll<'_, *const ()>: Send);
865 assert_impl!(WriteAllVectored<'_, ()>: Send);
867 assert_not_impl!(WriteAllVectored<'_, *const ()>: Send);
878 assert_impl!(WriteHalf<()>: Send);
879 assert_not_impl!(WriteHalf<*const ()>: Send);
884 assert_impl!(WriteVectored<'_, ()>: Send);
885 assert_not_impl!(WriteVectored<'_, *const ()>: Send);
892 /// Assert Send/Sync/Unpin for all public types in `futures::lock`.
898 assert_impl!(BiLock<()>: Send);
900 assert_not_impl!(BiLock<*const ()>: Send);
909 assert_impl!(BiLockAcquire<'_, ()>: Send);
911 assert_not_impl!(BiLockAcquire<'_, *const ()>: Send);
920 assert_impl!(BiLockGuard<'_, ()>: Send);
922 assert_not_impl!(BiLockGuard<'_, *const ()>: Send);
930 assert_impl!(MappedMutexGuard<'_, (), ()>: Send);
931 assert_not_impl!(MappedMutexGuard<'_, (), *const ()>: Send);
932 assert_not_impl!(MappedMutexGuard<'_, *const (), ()>: Send);
938 assert_impl!(Mutex<()>: Send);
939 assert_not_impl!(Mutex<*const ()>: Send);
945 assert_impl!(MutexGuard<'_, ()>: Send);
946 assert_not_impl!(MutexGuard<'_, *const ()>: Send);
951 assert_impl!(MutexLockFuture<'_, ()>: Send);
952 assert_not_impl!(MutexLockFuture<'_, *const ()>: Send);
957 assert_impl!(ReuniteError<()>: Send);
959 assert_not_impl!(ReuniteError<*const ()>: Send);
968 /// Assert Send/Sync/Unpin for all public types in `futures::sink`.
972 use std::marker::Send;
974 assert_impl!(Buffer<(), ()>: Send);
975 assert_not_impl!(Buffer<(), *const ()>: Send);
976 assert_not_impl!(Buffer<*const (), ()>: Send);
983 assert_impl!(Close<'_, (), *const ()>: Send);
984 assert_not_impl!(Close<'_, *const (), ()>: Send);
990 assert_impl!(Drain<()>: Send);
991 assert_not_impl!(Drain<*const ()>: Send);
996 assert_impl!(Fanout<(), ()>: Send);
997 assert_not_impl!(Fanout<(), *const ()>: Send);
998 assert_not_impl!(Fanout<*const (), ()>: Send);
1006 assert_impl!(Feed<'_, (), ()>: Send);
1007 assert_not_impl!(Feed<'_, (), *const ()>: Send);
1008 assert_not_impl!(Feed<'_, *const (), ()>: Send);
1015 assert_impl!(Flush<'_, (), *const ()>: Send);
1016 assert_not_impl!(Flush<'_, *const (), ()>: Send);
1022 assert_impl!(sink::Send<'_, (), ()>: Send);
1023 assert_not_impl!(sink::Send<'_, (), *const ()>: Send);
1024 assert_not_impl!(sink::Send<'_, *const (), ()>: Send);
1025 assert_impl!(sink::Send<'_, (), ()>: Sync);
1026 assert_not_impl!(sink::Send<'_, (), *const ()>: Sync);
1027 assert_not_impl!(sink::Send<'_, *const (), ()>: Sync);
1028 assert_impl!(sink::Send<'_, (), PhantomPinned>: Unpin);
1029 assert_not_impl!(sink::Send<'_, PhantomPinned, ()>: Unpin);
1031 assert_impl!(SendAll<'_, (), SendTryStream<()>>: Send);
1032 assert_not_impl!(SendAll<'_, (), SendTryStream>: Send);
1033 assert_not_impl!(SendAll<'_, (), LocalTryStream>: Send);
1034 assert_not_impl!(SendAll<'_, *const (), SendTryStream<()>>: Send);
1043 assert_impl!(SinkErrInto<SendSink, *const (), *const ()>: Send);
1044 assert_not_impl!(SinkErrInto<LocalSink<()>, (), ()>: Send);
1050 assert_impl!(SinkMapErr<SendSink, ()>: Send);
1051 assert_not_impl!(SinkMapErr<SendSink, *const ()>: Send);
1052 assert_not_impl!(SinkMapErr<LocalSink<()>, ()>: Send);
1059 assert_impl!(Unfold<(), (), ()>: Send);
1060 assert_not_impl!(Unfold<*const (), (), ()>: Send);
1061 assert_not_impl!(Unfold<(), *const (), ()>: Send);
1062 assert_not_impl!(Unfold<(), (), *const ()>: Send);
1070 assert_impl!(With<(), *const (), *const (), (), ()>: Send);
1071 assert_not_impl!(With<*const (), (), (), (), ()>: Send);
1072 assert_not_impl!(With<(), (), (), *const (), ()>: Send);
1073 assert_not_impl!(With<(), (), (), (), *const ()>: Send);
1082 assert_impl!(WithFlatMap<(), (), *const (), (), ()>: Send);
1083 assert_not_impl!(WithFlatMap<*const (), (), (), (), ()>: Send);
1084 assert_not_impl!(WithFlatMap<(), *const (), (), (), ()>: Send);
1085 assert_not_impl!(WithFlatMap<(), (), (), *const (), ()>: Send);
1086 assert_not_impl!(WithFlatMap<(), (), (), (), *const ()>: Send);
1097 /// Assert Send/Sync/Unpin for all public types in `futures::stream`.
1102 assert_impl!(AndThen<(), (), ()>: Send);
1103 assert_not_impl!(AndThen<*const (), (), ()>: Send);
1104 assert_not_impl!(AndThen<(), *const (), ()>: Send);
1105 assert_not_impl!(AndThen<(), (), *const ()>: Send);
1114 assert_impl!(BufferUnordered<SendStream<()>>: Send);
1115 assert_not_impl!(BufferUnordered<SendStream>: Send);
1116 assert_not_impl!(BufferUnordered<LocalStream>: Send);
1123 assert_impl!(Buffered<SendStream<SendFuture<()>>>: Send);
1124 assert_not_impl!(Buffered<SendStream<SendFuture>>: Send);
1125 assert_not_impl!(Buffered<SendStream<LocalFuture>>: Send);
1126 assert_not_impl!(Buffered<LocalStream<SendFuture<()>>>: Send);
1133 assert_impl!(CatchUnwind<SendStream>: Send);
1134 assert_not_impl!(CatchUnwind<LocalStream>: Send);
1140 assert_impl!(Chain<(), ()>: Send);
1141 assert_not_impl!(Chain<(), *const ()>: Send);
1142 assert_not_impl!(Chain<*const (), ()>: Send);
1150 assert_impl!(Chunks<SendStream<()>>: Send);
1151 assert_not_impl!(Chunks<SendStream>: Send);
1152 assert_not_impl!(Chunks<LocalStream>: Send);
1159 assert_impl!(Collect<(), ()>: Send);
1160 assert_not_impl!(Collect<*const (), ()>: Send);
1161 assert_not_impl!(Collect<(), *const ()>: Send);
1168 assert_impl!(Concat<SendStream<()>>: Send);
1169 assert_not_impl!(Concat<SendStream>: Send);
1170 assert_not_impl!(Concat<LocalStream>: Send);
1177 assert_impl!(Cycle<()>: Send);
1178 assert_not_impl!(Cycle<*const ()>: Send);
1184 assert_impl!(Empty<()>: Send);
1185 assert_not_impl!(Empty<*const ()>: Send);
1190 assert_impl!(Enumerate<()>: Send);
1191 assert_not_impl!(Enumerate<*const ()>: Send);
1197 assert_impl!(ErrInto<(), *const ()>: Send);
1198 assert_not_impl!(ErrInto<*const (), ()>: Send);
1204 assert_impl!(Filter<SendStream<()>, (), ()>: Send);
1205 assert_not_impl!(Filter<LocalStream<()>, (), ()>: Send);
1206 assert_not_impl!(Filter<SendStream, (), ()>: Send);
1207 assert_not_impl!(Filter<SendStream<()>, *const (), ()>: Send);
1208 assert_not_impl!(Filter<SendStream<()>, (), *const ()>: Send);
1218 assert_impl!(FilterMap<(), (), ()>: Send);
1219 assert_not_impl!(FilterMap<*const (), (), ()>: Send);
1220 assert_not_impl!(FilterMap<(), *const (), ()>: Send);
1221 assert_not_impl!(FilterMap<(), (), *const ()>: Send);
1230 assert_impl!(FlatMap<(), (), ()>: Send);
1231 assert_not_impl!(FlatMap<*const (), (), ()>: Send);
1232 assert_not_impl!(FlatMap<(), *const (), ()>: Send);
1233 assert_not_impl!(FlatMap<(), (), *const ()>: Send);
1242 assert_impl!(Flatten<SendStream<()>>: Send);
1243 assert_not_impl!(Flatten<SendStream>: Send);
1244 assert_not_impl!(Flatten<SendStream>: Send);
1252 assert_impl!(Fold<(), (), (), ()>: Send);
1253 assert_not_impl!(Fold<*const (), (), (), ()>: Send);
1254 assert_not_impl!(Fold<(), *const (), (), ()>: Send);
1255 assert_not_impl!(Fold<(), (), *const (), ()>: Send);
1256 assert_not_impl!(Fold<(), (), (), *const ()>: Send);
1266 assert_impl!(ForEach<(), (), ()>: Send);
1267 assert_not_impl!(ForEach<*const (), (), ()>: Send);
1268 assert_not_impl!(ForEach<(), *const (), ()>: Send);
1269 assert_not_impl!(ForEach<(), (), *const ()>: Send);
1278 assert_impl!(ForEachConcurrent<(), (), ()>: Send);
1279 assert_not_impl!(ForEachConcurrent<*const (), (), ()>: Send);
1280 assert_not_impl!(ForEachConcurrent<(), *const (), ()>: Send);
1281 assert_not_impl!(ForEachConcurrent<(), (), *const ()>: Send);
1289 assert_impl!(Forward<SendTryStream<()>, ()>: Send);
1290 assert_not_impl!(Forward<SendTryStream, ()>: Send);
1291 assert_not_impl!(Forward<SendTryStream<()>, *const ()>: Send);
1292 assert_not_impl!(Forward<LocalTryStream, ()>: Send);
1301 assert_impl!(Fuse<()>: Send);
1302 assert_not_impl!(Fuse<*const ()>: Send);
1308 assert_impl!(FuturesOrdered<SendFuture<()>>: Send);
1309 assert_not_impl!(FuturesOrdered<SendFuture>: Send);
1310 assert_not_impl!(FuturesOrdered<SendFuture>: Send);
1317 assert_impl!(FuturesUnordered<()>: Send);
1318 assert_not_impl!(FuturesUnordered<*const ()>: Send);
1323 assert_impl!(Inspect<(), ()>: Send);
1324 assert_not_impl!(Inspect<*const (), ()>: Send);
1325 assert_not_impl!(Inspect<(), *const ()>: Send);
1332 assert_impl!(InspectErr<(), ()>: Send);
1333 assert_not_impl!(InspectErr<*const (), ()>: Send);
1334 assert_not_impl!(InspectErr<(), *const ()>: Send);
1341 assert_impl!(InspectOk<(), ()>: Send);
1342 assert_not_impl!(InspectOk<*const (), ()>: Send);
1343 assert_not_impl!(InspectOk<(), *const ()>: Send);
1350 assert_impl!(IntoAsyncRead<SendTryStream<Vec<u8>, io::Error>>: Send);
1351 assert_not_impl!(IntoAsyncRead<LocalTryStream<Vec<u8>, io::Error>>: Send);
1358 assert_impl!(IntoStream<()>: Send);
1359 assert_not_impl!(IntoStream<*const ()>: Send);
1365 assert_impl!(Iter<()>: Send);
1366 assert_not_impl!(Iter<*const ()>: Send);
1371 assert_impl!(Map<(), ()>: Send);
1372 assert_not_impl!(Map<*const (), ()>: Send);
1373 assert_not_impl!(Map<(), *const ()>: Send);
1380 assert_impl!(MapErr<(), ()>: Send);
1381 assert_not_impl!(MapErr<*const (), ()>: Send);
1382 assert_not_impl!(MapErr<(), *const ()>: Send);
1389 assert_impl!(MapOk<(), ()>: Send);
1390 assert_not_impl!(MapOk<*const (), ()>: Send);
1391 assert_not_impl!(MapOk<(), *const ()>: Send);
1398 assert_impl!(Next<'_, ()>: Send);
1399 assert_not_impl!(Next<'_, *const ()>: Send);
1405 assert_impl!(NextIf<'_, SendStream<()>, ()>: Send);
1406 assert_not_impl!(NextIf<'_, SendStream<()>, *const ()>: Send);
1407 assert_not_impl!(NextIf<'_, SendStream, ()>: Send);
1408 assert_not_impl!(NextIf<'_, LocalStream<()>, ()>: Send);
1412 assert_not_impl!(NextIf<'_, LocalStream<()>, ()>: Send);
1415 assert_impl!(NextIfEq<'_, SendStream<()>, ()>: Send);
1416 assert_not_impl!(NextIfEq<'_, SendStream<()>, *const ()>: Send);
1417 assert_not_impl!(NextIfEq<'_, SendStream, ()>: Send);
1418 assert_not_impl!(NextIfEq<'_, LocalStream<()>, ()>: Send);
1422 assert_not_impl!(NextIfEq<'_, LocalStream<()>, ()>: Send);
1425 assert_impl!(Once<()>: Send);
1426 assert_not_impl!(Once<*const ()>: Send);
1432 assert_impl!(OrElse<(), (), ()>: Send);
1433 assert_not_impl!(OrElse<*const (), (), ()>: Send);
1434 assert_not_impl!(OrElse<(), *const (), ()>: Send);
1435 assert_not_impl!(OrElse<(), (), *const ()>: Send);
1444 assert_impl!(Peek<'_, SendStream<()>>: Send);
1445 assert_not_impl!(Peek<'_, SendStream>: Send);
1446 assert_not_impl!(Peek<'_, LocalStream<()>>: Send);
1452 assert_impl!(PeekMut<'_, SendStream<()>>: Send);
1453 assert_not_impl!(PeekMut<'_, SendStream>: Send);
1454 assert_not_impl!(PeekMut<'_, LocalStream<()>>: Send);
1460 assert_impl!(Peekable<SendStream<()>>: Send);
1461 assert_not_impl!(Peekable<SendStream>: Send);
1462 assert_not_impl!(Peekable<LocalStream>: Send);
1469 assert_impl!(Pending<()>: Send);
1470 assert_not_impl!(Pending<*const ()>: Send);
1475 assert_impl!(PollFn<()>: Send);
1476 assert_not_impl!(PollFn<*const ()>: Send);
1481 assert_impl!(PollImmediate<SendStream>: Send);
1482 assert_not_impl!(PollImmediate<LocalStream<()>>: Send);
1488 assert_impl!(ReadyChunks<SendStream<()>>: Send);
1489 assert_impl!(ReadyChunks<SendStream>: Send);
1490 assert_not_impl!(ReadyChunks<LocalStream>: Send);
1497 assert_impl!(Repeat<()>: Send);
1498 assert_not_impl!(Repeat<*const ()>: Send);
1503 assert_impl!(RepeatWith<()>: Send);
1504 assert_not_impl!(RepeatWith<*const ()>: Send);
1511 assert_impl!(ReuniteError<(), ()>: Send);
1512 assert_not_impl!(ReuniteError<*const (), ()>: Send);
1513 assert_not_impl!(ReuniteError<(), *const ()>: Send);
1519 assert_impl!(Scan<SendStream, (), (), ()>: Send);
1520 assert_not_impl!(Scan<LocalStream<()>, (), (), ()>: Send);
1521 assert_not_impl!(Scan<SendStream<()>, *const (), (), ()>: Send);
1522 assert_not_impl!(Scan<SendStream<()>, (), *const (), ()>: Send);
1523 assert_not_impl!(Scan<SendStream<()>, (), (), *const ()>: Send);
1533 assert_impl!(Select<(), ()>: Send);
1534 assert_not_impl!(Select<*const (), ()>: Send);
1535 assert_not_impl!(Select<(), *const ()>: Send);
1543 assert_impl!(SelectAll<()>: Send);
1544 assert_not_impl!(SelectAll<*const ()>: Send);
1549 assert_impl!(SelectNextSome<'_, ()>: Send);
1550 assert_not_impl!(SelectNextSome<'_, *const ()>: Send);
1555 assert_impl!(Skip<()>: Send);
1556 assert_not_impl!(Skip<*const ()>: Send);
1562 assert_impl!(SkipWhile<SendStream<()>, (), ()>: Send);
1563 assert_not_impl!(SkipWhile<LocalStream<()>, (), ()>: Send);
1564 assert_not_impl!(SkipWhile<SendStream, (), ()>: Send);
1565 assert_not_impl!(SkipWhile<SendStream<()>, *const (), ()>: Send);
1566 assert_not_impl!(SkipWhile<SendStream<()>, (), *const ()>: Send);
1576 assert_impl!(SplitSink<(), ()>: Send);
1577 assert_not_impl!(SplitSink<*const (), ()>: Send);
1578 assert_not_impl!(SplitSink<(), *const ()>: Send);
1584 assert_impl!(SplitStream<()>: Send);
1585 assert_not_impl!(SplitStream<*const ()>: Send);
1590 assert_impl!(StreamFuture<()>: Send);
1591 assert_not_impl!(StreamFuture<*const ()>: Send);
1597 assert_impl!(Take<()>: Send);
1598 assert_not_impl!(Take<*const ()>: Send);
1604 assert_impl!(TakeUntil<SendStream, SendFuture<()>>: Send);
1605 assert_not_impl!(TakeUntil<SendStream, SendFuture>: Send);
1606 assert_not_impl!(TakeUntil<SendStream, LocalFuture<()>>: Send);
1607 assert_not_impl!(TakeUntil<LocalStream, SendFuture<()>>: Send);
1616 assert_impl!(TakeWhile<SendStream<()>, (), ()>: Send);
1617 assert_not_impl!(TakeWhile<LocalStream<()>, (), ()>: Send);
1618 assert_not_impl!(TakeWhile<SendStream, (), ()>: Send);
1619 assert_not_impl!(TakeWhile<SendStream<()>, *const (), ()>: Send);
1620 assert_not_impl!(TakeWhile<SendStream<()>, (), *const ()>: Send);
1630 assert_impl!(Then<SendStream, (), ()>: Send);
1631 assert_not_impl!(Then<LocalStream<()>, (), ()>: Send);
1632 assert_not_impl!(Then<SendStream<()>, *const (), ()>: Send);
1633 assert_not_impl!(Then<SendStream<()>, (), *const ()>: Send);
1642 assert_impl!(TryBufferUnordered<SendTryStream<()>>: Send);
1643 assert_not_impl!(TryBufferUnordered<SendTryStream>: Send);
1644 assert_not_impl!(TryBufferUnordered<LocalTryStream>: Send);
1651 assert_impl!(TryBuffered<SendTryStream<SendTryFuture<(), ()>>>: Send);
1652 assert_not_impl!(TryBuffered<SendTryStream<SendTryFuture<*const (), ()>>>: Send);
1653 assert_not_impl!(TryBuffered<SendTryStream<SendTryFuture<(), *const ()>>>: Send);
1654 assert_not_impl!(TryBuffered<SendTryStream<LocalTryFuture<(), ()>>>: Send);
1655 assert_not_impl!(TryBuffered<LocalTryStream<SendTryFuture<(), ()>>>: Send);
1665 assert_impl!(TryCollect<(), ()>: Send);
1666 assert_not_impl!(TryCollect<*const (), ()>: Send);
1667 assert_not_impl!(TryCollect<(), *const ()>: Send);
1674 assert_impl!(TryConcat<SendTryStream<()>>: Send);
1675 assert_not_impl!(TryConcat<SendTryStream>: Send);
1676 assert_not_impl!(TryConcat<LocalTryStream>: Send);
1683 assert_impl!(TryFilter<SendTryStream<()>, (), ()>: Send);
1684 assert_not_impl!(TryFilter<LocalTryStream<()>, (), ()>: Send);
1685 assert_not_impl!(TryFilter<SendTryStream, (), ()>: Send);
1686 assert_not_impl!(TryFilter<SendTryStream<()>, *const (), ()>: Send);
1687 assert_not_impl!(TryFilter<SendTryStream<()>, (), *const ()>: Send);
1697 assert_impl!(TryFilterMap<(), (), ()>: Send);
1698 assert_not_impl!(TryFilterMap<*const (), (), ()>: Send);
1699 assert_not_impl!(TryFilterMap<(), *const (), ()>: Send);
1700 assert_not_impl!(TryFilterMap<(), (), *const ()>: Send);
1709 assert_impl!(TryFlatten<SendTryStream<()>>: Send);
1710 assert_not_impl!(TryFlatten<SendTryStream>: Send);
1711 assert_not_impl!(TryFlatten<SendTryStream>: Send);
1719 assert_impl!(TryFold<(), (), (), ()>: Send);
1720 assert_not_impl!(TryFold<*const (), (), (), ()>: Send);
1721 assert_not_impl!(TryFold<(), *const (), (), ()>: Send);
1722 assert_not_impl!(TryFold<(), (), *const (), ()>: Send);
1723 assert_not_impl!(TryFold<(), (), (), *const ()>: Send);
1733 assert_impl!(TryForEach<(), (), ()>: Send);
1734 assert_not_impl!(TryForEach<*const (), (), ()>: Send);
1735 assert_not_impl!(TryForEach<(), *const (), ()>: Send);
1736 assert_not_impl!(TryForEach<(), (), *const ()>: Send);
1745 assert_impl!(TryForEachConcurrent<(), (), ()>: Send);
1746 assert_not_impl!(TryForEachConcurrent<*const (), (), ()>: Send);
1747 assert_not_impl!(TryForEachConcurrent<(), *const (), ()>: Send);
1748 assert_not_impl!(TryForEachConcurrent<(), (), *const ()>: Send);
1756 assert_impl!(TryNext<'_, ()>: Send);
1757 assert_not_impl!(TryNext<'_, *const ()>: Send);
1763 assert_impl!(TrySkipWhile<SendTryStream<()>, (), ()>: Send);
1764 assert_not_impl!(TrySkipWhile<LocalTryStream<()>, (), ()>: Send);
1765 assert_not_impl!(TrySkipWhile<SendTryStream, (), ()>: Send);
1766 assert_not_impl!(TrySkipWhile<SendTryStream<()>, *const (), ()>: Send);
1767 assert_not_impl!(TrySkipWhile<SendTryStream<()>, (), *const ()>: Send);
1777 assert_impl!(TryTakeWhile<SendTryStream<()>, (), ()>: Send);
1778 assert_not_impl!(TryTakeWhile<LocalTryStream<()>, (), ()>: Send);
1779 assert_not_impl!(TryTakeWhile<SendTryStream, (), ()>: Send);
1780 assert_not_impl!(TryTakeWhile<SendTryStream<()>, *const (), ()>: Send);
1781 assert_not_impl!(TryTakeWhile<SendTryStream<()>, (), *const ()>: Send);
1791 assert_impl!(TryUnfold<(), (), ()>: Send);
1792 assert_not_impl!(TryUnfold<*const (), (), ()>: Send);
1793 assert_not_impl!(TryUnfold<(), *const (), ()>: Send);
1794 assert_not_impl!(TryUnfold<(), (), *const ()>: Send);
1802 assert_impl!(Unfold<(), (), ()>: Send);
1803 assert_not_impl!(Unfold<*const (), (), ()>: Send);
1804 assert_not_impl!(Unfold<(), *const (), ()>: Send);
1805 assert_not_impl!(Unfold<(), (), *const ()>: Send);
1813 assert_impl!(Unzip<(), (), ()>: Send);
1814 assert_not_impl!(Unzip<*const (), (), ()>: Send);
1815 assert_not_impl!(Unzip<(), *const (), ()>: Send);
1816 assert_not_impl!(Unzip<(), (), *const ()>: Send);
1824 assert_impl!(Zip<SendStream<()>, SendStream<()>>: Send);
1825 assert_not_impl!(Zip<SendStream, SendStream<()>>: Send);
1826 assert_not_impl!(Zip<SendStream<()>, SendStream>: Send);
1827 assert_not_impl!(Zip<LocalStream, SendStream<()>>: Send);
1828 assert_not_impl!(Zip<SendStream<()>, LocalStream>: Send);
1838 assert_impl!(futures_unordered::Iter<()>: Send);
1839 assert_not_impl!(futures_unordered::Iter<*const ()>: Send);
1846 assert_impl!(futures_unordered::IterMut<()>: Send);
1847 assert_not_impl!(futures_unordered::IterMut<*const ()>: Send);
1854 assert_impl!(futures_unordered::IterPinMut<()>: Send);
1855 assert_not_impl!(futures_unordered::IterPinMut<*const ()>: Send);
1860 assert_impl!(futures_unordered::IterPinRef<()>: Send);
1861 assert_not_impl!(futures_unordered::IterPinRef<*const ()>: Send);
1866 assert_impl!(futures_unordered::IntoIter<()>: Send);
1867 assert_not_impl!(futures_unordered::IntoIter<*const ()>: Send);
1874 /// Assert Send/Sync/Unpin for all public types in `futures::task`.
1879 assert_impl!(AtomicWaker: Send);
1883 assert_impl!(FutureObj<*const ()>: Send);
1887 assert_not_impl!(LocalFutureObj<()>: Send);
1891 assert_impl!(SpawnError: Send);
1895 assert_impl!(WakerRef<'_>: Send);