Lines Matching full:send
4 //! Assert Send/Sync/Unpin for all public types.
18 type SendFuture<T = *const ()> = Pin<Box<dyn Future<Output = T> + Send>>;
22 type SendSyncFuture<T = *const ()> = Pin<Box<dyn Future<Output = T> + Send + Sync>>;
37 type SendStream<T = *const ()> = Pin<Box<dyn Stream<Item = T> + Send>>;
41 type SendSyncStream<T = *const ()> = Pin<Box<dyn Stream<Item = T> + Send + Sync>>;
55 type SendSink<T = *const (), E = *const ()> = Pin<Box<dyn Sink<T, Error = E> + Send>>;
75 /// Assert Send/Sync/Unpin for all public types in `futures::channel`.
80 assert_impl!(mpsc::Receiver<()>: Send);
81 assert_not_impl!(mpsc::Receiver<*const ()>: Send);
86 assert_impl!(mpsc::SendError: Send);
90 assert_impl!(mpsc::Sender<()>: Send);
91 assert_not_impl!(mpsc::Sender<*const ()>: Send);
96 assert_impl!(mpsc::TryRecvError: Send);
100 assert_impl!(mpsc::TrySendError<()>: Send);
101 assert_not_impl!(mpsc::TrySendError<*const ()>: Send);
107 assert_impl!(mpsc::UnboundedReceiver<()>: Send);
108 assert_not_impl!(mpsc::UnboundedReceiver<*const ()>: Send);
113 assert_impl!(mpsc::UnboundedReceiver<()>: Send);
114 assert_not_impl!(mpsc::UnboundedReceiver<*const ()>: Send);
119 assert_impl!(oneshot::Canceled: Send);
123 assert_impl!(oneshot::Cancellation<'_, ()>: Send);
124 assert_not_impl!(oneshot::Cancellation<'_, *const ()>: Send);
129 assert_impl!(oneshot::Receiver<()>: Send);
130 assert_not_impl!(oneshot::Receiver<*const ()>: Send);
135 assert_impl!(oneshot::Sender<()>: Send);
136 assert_not_impl!(oneshot::Sender<*const ()>: Send);
142 /// Assert Send/Sync/Unpin for all public types in `futures::compat`.
147 assert_impl!(Compat<()>: Send);
148 assert_not_impl!(Compat<*const ()>: Send);
154 assert_impl!(Compat01As03<()>: Send);
155 assert_not_impl!(Compat01As03<*const ()>: Send);
159 assert_impl!(Compat01As03Sink<(), ()>: Send);
160 assert_not_impl!(Compat01As03Sink<(), *const ()>: Send);
161 assert_not_impl!(Compat01As03Sink<*const (), ()>: Send);
165 assert_impl!(CompatSink<(), *const ()>: Send);
166 assert_not_impl!(CompatSink<*const (), ()>: Send);
172 assert_impl!(Executor01As03<()>: Send);
173 assert_not_impl!(Executor01As03<*const ()>: Send);
179 assert_impl!(Executor01Future: Send);
184 /// Assert Send/Sync/Unpin for all public types in `futures::executor`.
189 assert_impl!(BlockingStream<SendStream>: Send);
190 assert_not_impl!(BlockingStream<LocalStream>: Send);
197 assert_impl!(Enter: Send);
201 assert_impl!(EnterError: Send);
205 assert_not_impl!(LocalPool: Send);
209 assert_not_impl!(LocalSpawner: Send);
213 assert_impl!(ThreadPool: Send);
217 assert_impl!(ThreadPoolBuilder: Send);
222 /// Assert Send/Sync/Unpin for all public types in `futures::future`.
227 assert_impl!(AbortHandle: Send);
231 assert_impl!(AbortRegistration: Send);
235 assert_impl!(Abortable<SendFuture>: Send);
236 assert_not_impl!(Abortable<LocalFuture>: Send);
242 assert_impl!(Aborted: Send);
246 assert_impl!(AndThen<SendFuture, SendFuture, ()>: Send);
247 assert_not_impl!(AndThen<SendFuture, LocalFuture, ()>: Send);
248 assert_not_impl!(AndThen<LocalFuture, SendFuture, ()>: Send);
249 assert_not_impl!(AndThen<SendFuture, SendFuture, *const ()>: Send);
258 assert_impl!(CatchUnwind<SendFuture>: Send);
259 assert_not_impl!(CatchUnwind<LocalFuture>: Send);
265 assert_impl!(ErrInto<SendTryFuture, *const ()>: Send);
266 assert_not_impl!(ErrInto<LocalTryFuture, ()>: Send);
272 assert_impl!(Flatten<SendFuture<()>>: Send);
273 assert_not_impl!(Flatten<LocalFuture>: Send);
274 assert_not_impl!(Flatten<SendFuture>: Send);
282 assert_impl!(FlattenSink<SendFuture, ()>: Send);
283 assert_not_impl!(FlattenSink<SendFuture, *const ()>: Send);
284 assert_not_impl!(FlattenSink<LocalFuture, ()>: Send);
292 assert_impl!(FlattenStream<SendFuture<()>>: Send);
293 assert_not_impl!(FlattenStream<LocalFuture>: Send);
294 assert_not_impl!(FlattenStream<SendFuture>: Send);
302 assert_impl!(Fuse<SendFuture>: Send);
303 assert_not_impl!(Fuse<LocalFuture>: Send);
309 assert_impl!(FutureObj<'_, *const ()>: Send);
313 assert_impl!(Inspect<SendFuture, ()>: Send);
314 assert_not_impl!(Inspect<SendFuture, *const ()>: Send);
315 assert_not_impl!(Inspect<LocalFuture, ()>: Send);
322 assert_impl!(InspectErr<SendFuture, ()>: Send);
323 assert_not_impl!(InspectErr<SendFuture, *const ()>: Send);
324 assert_not_impl!(InspectErr<LocalFuture, ()>: Send);
331 assert_impl!(InspectOk<SendFuture, ()>: Send);
332 assert_not_impl!(InspectOk<SendFuture, *const ()>: Send);
333 assert_not_impl!(InspectOk<LocalFuture, ()>: Send);
340 assert_impl!(IntoFuture<SendFuture>: Send);
341 assert_not_impl!(IntoFuture<LocalFuture>: Send);
347 assert_impl!(IntoStream<SendFuture>: Send);
348 assert_not_impl!(IntoStream<LocalFuture>: Send);
354 assert_impl!(Join<SendFuture<()>, SendFuture<()>>: Send);
355 assert_not_impl!(Join<SendFuture<()>, SendFuture>: Send);
356 assert_not_impl!(Join<SendFuture, SendFuture<()>>: Send);
357 assert_not_impl!(Join<SendFuture, LocalFuture>: Send);
358 assert_not_impl!(Join<LocalFuture, SendFuture>: Send);
370 assert_impl!(JoinAll<SendFuture<()>>: Send);
371 assert_not_impl!(JoinAll<LocalFuture>: Send);
372 assert_not_impl!(JoinAll<SendFuture>: Send);
379 assert_impl!(Lazy<()>: Send);
380 assert_not_impl!(Lazy<*const ()>: Send);
385 assert_not_impl!(LocalFutureObj<'_, ()>: Send);
389 assert_impl!(Map<SendFuture, ()>: Send);
390 assert_not_impl!(Map<SendFuture, *const ()>: Send);
391 assert_not_impl!(Map<LocalFuture, ()>: Send);
398 assert_impl!(MapErr<SendFuture, ()>: Send);
399 assert_not_impl!(MapErr<SendFuture, *const ()>: Send);
400 assert_not_impl!(MapErr<LocalFuture, ()>: Send);
407 assert_impl!(MapInto<SendFuture, *const ()>: Send);
408 assert_not_impl!(MapInto<LocalFuture, ()>: Send);
414 assert_impl!(MapOk<SendFuture, ()>: Send);
415 assert_not_impl!(MapOk<SendFuture, *const ()>: Send);
416 assert_not_impl!(MapOk<LocalFuture, ()>: Send);
423 assert_impl!(MapOkOrElse<SendFuture, (), ()>: Send);
424 assert_not_impl!(MapOkOrElse<SendFuture, (), *const ()>: Send);
425 assert_not_impl!(MapOkOrElse<SendFuture, *const (), ()>: Send);
426 assert_not_impl!(MapOkOrElse<LocalFuture, (), ()>: Send);
434 assert_impl!(NeverError<SendFuture>: Send);
435 assert_not_impl!(NeverError<LocalFuture>: Send);
441 assert_impl!(OkInto<SendFuture, *const ()>: Send);
442 assert_not_impl!(OkInto<LocalFuture, ()>: Send);
448 assert_impl!(OptionFuture<SendFuture>: Send);
449 assert_not_impl!(OptionFuture<LocalFuture>: Send);
455 assert_impl!(OrElse<SendFuture, SendFuture, ()>: Send);
456 assert_not_impl!(OrElse<SendFuture, LocalFuture, ()>: Send);
457 assert_not_impl!(OrElse<LocalFuture, SendFuture, ()>: Send);
458 assert_not_impl!(OrElse<SendFuture, SendFuture, *const ()>: Send);
467 assert_impl!(Pending<()>: Send);
468 assert_not_impl!(Pending<*const ()>: Send);
473 assert_impl!(PollFn<()>: Send);
474 assert_not_impl!(PollFn<*const ()>: Send);
479 assert_impl!(PollImmediate<SendStream>: Send);
480 assert_not_impl!(PollImmediate<LocalStream<()>>: Send);
486 assert_impl!(Ready<()>: Send);
487 assert_not_impl!(Ready<*const ()>: Send);
492 assert_impl!(Remote<SendFuture<()>>: Send);
493 assert_not_impl!(Remote<LocalFuture>: Send);
494 assert_not_impl!(Remote<SendFuture>: Send);
501 assert_impl!(RemoteHandle<()>: Send);
502 assert_not_impl!(RemoteHandle<*const ()>: Send);
507 assert_impl!(Select<SendFuture, SendFuture>: Send);
508 assert_not_impl!(Select<SendFuture, LocalFuture>: Send);
509 assert_not_impl!(Select<LocalFuture, SendFuture>: Send);
517 assert_impl!(SelectAll<SendFuture>: Send);
518 assert_not_impl!(SelectAll<LocalFuture>: Send);
524 assert_impl!(SelectOk<SendFuture>: Send);
525 assert_not_impl!(SelectOk<LocalFuture>: Send);
531 assert_impl!(Shared<SendFuture<()>>: Send);
532 assert_not_impl!(Shared<SendFuture>: Send);
533 assert_not_impl!(Shared<LocalFuture>: Send);
537 assert_impl!(Then<SendFuture, SendFuture, ()>: Send);
538 assert_not_impl!(Then<SendFuture, SendFuture, *const ()>: Send);
539 assert_not_impl!(Then<SendFuture, LocalFuture, ()>: Send);
540 assert_not_impl!(Then<LocalFuture, SendFuture, ()>: Send);
549 assert_impl!(TryFlatten<SendTryFuture<()>, ()>: Send);
550 assert_not_impl!(TryFlatten<LocalTryFuture, ()>: Send);
551 assert_not_impl!(TryFlatten<SendTryFuture, *const ()>: Send);
559 assert_impl!(TryFlattenStream<SendTryFuture<()>>: Send);
560 assert_not_impl!(TryFlattenStream<LocalTryFuture>: Send);
561 assert_not_impl!(TryFlattenStream<SendTryFuture>: Send);
569 assert_impl!(TryJoin<SendTryFuture<()>, SendTryFuture<()>>: Send);
570 assert_not_impl!(TryJoin<SendTryFuture<()>, SendTryFuture>: Send);
571 assert_not_impl!(TryJoin<SendTryFuture, SendTryFuture<()>>: Send);
572 assert_not_impl!(TryJoin<SendTryFuture, LocalTryFuture>: Send);
573 assert_not_impl!(TryJoin<LocalTryFuture, SendTryFuture>: Send);
585 assert_impl!(TryJoinAll<SendTryFuture<(), ()>>: Send);
586 assert_not_impl!(TryJoinAll<LocalTryFuture>: Send);
587 assert_not_impl!(TryJoinAll<SendTryFuture>: Send);
594 assert_impl!(TrySelect<SendFuture, SendFuture>: Send);
595 assert_not_impl!(TrySelect<SendFuture, LocalFuture>: Send);
596 assert_not_impl!(TrySelect<LocalFuture, SendFuture>: Send);
604 assert_impl!(UnitError<SendFuture>: Send);
605 assert_not_impl!(UnitError<LocalFuture>: Send);
611 assert_impl!(UnwrapOrElse<SendFuture, ()>: Send);
612 assert_not_impl!(UnwrapOrElse<SendFuture, *const ()>: Send);
613 assert_not_impl!(UnwrapOrElse<LocalFuture, ()>: Send);
620 assert_impl!(WeakShared<SendFuture<()>>: Send);
621 assert_not_impl!(WeakShared<SendFuture>: Send);
622 assert_not_impl!(WeakShared<LocalFuture>: Send);
626 assert_impl!(Either<SendFuture, SendFuture>: Send);
627 assert_not_impl!(Either<SendFuture, LocalFuture>: Send);
628 assert_not_impl!(Either<LocalFuture, SendFuture>: Send);
636 assert_impl!(MaybeDone<SendFuture<()>>: Send);
637 assert_not_impl!(MaybeDone<SendFuture>: Send);
638 assert_not_impl!(MaybeDone<LocalFuture>: Send);
645 assert_impl!(TryMaybeDone<SendTryFuture<()>>: Send);
646 assert_not_impl!(TryMaybeDone<SendTryFuture>: Send);
647 assert_not_impl!(TryMaybeDone<LocalTryFuture>: Send);
655 /// Assert Send/Sync/Unpin for all public types in `futures::io`.
660 assert_impl!(AllowStdIo<()>: Send);
661 assert_not_impl!(AllowStdIo<*const ()>: Send);
666 assert_impl!(BufReader<()>: Send);
667 assert_not_impl!(BufReader<*const ()>: Send);
673 assert_impl!(BufWriter<()>: Send);
674 assert_not_impl!(BufWriter<*const ()>: Send);
680 assert_impl!(Chain<(), ()>: Send);
681 assert_not_impl!(Chain<(), *const ()>: Send);
682 assert_not_impl!(Chain<*const (), ()>: Send);
690 assert_impl!(Close<'_, ()>: Send);
691 assert_not_impl!(Close<'_, *const ()>: Send);
697 assert_impl!(Copy<'_, (), ()>: Send);
698 assert_not_impl!(Copy<'_, (), *const ()>: Send);
699 assert_not_impl!(Copy<'_, *const (), ()>: Send);
706 assert_impl!(CopyBuf<'_, (), ()>: Send);
707 assert_not_impl!(CopyBuf<'_, (), *const ()>: Send);
708 assert_not_impl!(CopyBuf<'_, *const (), ()>: Send);
715 assert_impl!(Cursor<()>: Send);
716 assert_not_impl!(Cursor<*const ()>: Send);
722 assert_impl!(Empty: Send);
726 assert_impl!(FillBuf<'_, ()>: Send);
727 assert_not_impl!(FillBuf<'_, *const ()>: Send);
732 assert_impl!(Flush<'_, ()>: Send);
733 assert_not_impl!(Flush<'_, *const ()>: Send);
739 assert_impl!(IntoSink<(), ()>: Send);
740 assert_not_impl!(IntoSink<(), *const ()>: Send);
741 assert_not_impl!(IntoSink<*const (), ()>: Send);
748 assert_impl!(Lines<()>: Send);
749 assert_not_impl!(Lines<*const ()>: Send);
755 assert_impl!(Read<'_, ()>: Send);
756 assert_not_impl!(Read<'_, *const ()>: Send);
762 assert_impl!(ReadExact<'_, ()>: Send);
763 assert_not_impl!(ReadExact<'_, *const ()>: Send);
769 assert_impl!(ReadHalf<()>: Send);
770 assert_not_impl!(ReadHalf<*const ()>: Send);
775 assert_impl!(ReadLine<'_, ()>: Send);
776 assert_not_impl!(ReadLine<'_, *const ()>: Send);
782 assert_impl!(ReadToEnd<'_, ()>: Send);
783 assert_not_impl!(ReadToEnd<'_, *const ()>: Send);
789 assert_impl!(ReadToString<'_, ()>: Send);
790 assert_not_impl!(ReadToString<'_, *const ()>: Send);
796 assert_impl!(ReadUntil<'_, ()>: Send);
797 assert_not_impl!(ReadUntil<'_, *const ()>: Send);
803 assert_impl!(ReadVectored<'_, ()>: Send);
804 assert_not_impl!(ReadVectored<'_, *const ()>: Send);
810 assert_impl!(Repeat: Send);
814 assert_impl!(ReuniteError<()>: Send);
815 assert_not_impl!(ReuniteError<*const ()>: Send);
820 assert_impl!(Seek<'_, ()>: Send);
821 assert_not_impl!(Seek<'_, *const ()>: Send);
827 assert_impl!(SeeKRelative<'_, ()>: Send);
828 assert_not_impl!(SeeKRelative<'_, *const ()>: Send);
833 assert_impl!(Sink: Send);
837 assert_impl!(Take<()>: Send);
838 assert_not_impl!(Take<*const ()>: Send);
844 assert_impl!(Window<()>: Send);
845 assert_not_impl!(Window<*const ()>: Send);
851 assert_impl!(Write<'_, ()>: Send);
852 assert_not_impl!(Write<'_, *const ()>: Send);
858 assert_impl!(WriteAll<'_, ()>: Send);
859 assert_not_impl!(WriteAll<'_, *const ()>: Send);
866 assert_impl!(WriteAllVectored<'_, ()>: Send);
868 assert_not_impl!(WriteAllVectored<'_, *const ()>: Send);
879 assert_impl!(WriteHalf<()>: Send);
880 assert_not_impl!(WriteHalf<*const ()>: Send);
885 assert_impl!(WriteVectored<'_, ()>: Send);
886 assert_not_impl!(WriteVectored<'_, *const ()>: Send);
893 /// Assert Send/Sync/Unpin for all public types in `futures::lock`.
899 assert_impl!(BiLock<()>: Send);
901 assert_not_impl!(BiLock<*const ()>: Send);
910 assert_impl!(BiLockAcquire<'_, ()>: Send);
912 assert_not_impl!(BiLockAcquire<'_, *const ()>: Send);
921 assert_impl!(BiLockGuard<'_, ()>: Send);
923 assert_not_impl!(BiLockGuard<'_, *const ()>: Send);
931 assert_impl!(MappedMutexGuard<'_, (), ()>: Send);
932 assert_not_impl!(MappedMutexGuard<'_, (), *const ()>: Send);
933 assert_not_impl!(MappedMutexGuard<'_, *const (), ()>: Send);
939 assert_impl!(Mutex<()>: Send);
940 assert_not_impl!(Mutex<*const ()>: Send);
946 assert_impl!(MutexGuard<'_, ()>: Send);
947 assert_not_impl!(MutexGuard<'_, *const ()>: Send);
952 assert_impl!(MutexLockFuture<'_, ()>: Send);
953 assert_not_impl!(MutexLockFuture<'_, *const ()>: Send);
958 assert_impl!(ReuniteError<()>: Send);
960 assert_not_impl!(ReuniteError<*const ()>: Send);
969 /// Assert Send/Sync/Unpin for all public types in `futures::sink`.
973 use std::marker::Send;
975 assert_impl!(Buffer<(), ()>: Send);
976 assert_not_impl!(Buffer<(), *const ()>: Send);
977 assert_not_impl!(Buffer<*const (), ()>: Send);
984 assert_impl!(Close<'_, (), *const ()>: Send);
985 assert_not_impl!(Close<'_, *const (), ()>: Send);
991 assert_impl!(Drain<()>: Send);
992 assert_not_impl!(Drain<*const ()>: Send);
997 assert_impl!(Fanout<(), ()>: Send);
998 assert_not_impl!(Fanout<(), *const ()>: Send);
999 assert_not_impl!(Fanout<*const (), ()>: Send);
1007 assert_impl!(Feed<'_, (), ()>: Send);
1008 assert_not_impl!(Feed<'_, (), *const ()>: Send);
1009 assert_not_impl!(Feed<'_, *const (), ()>: Send);
1016 assert_impl!(Flush<'_, (), *const ()>: Send);
1017 assert_not_impl!(Flush<'_, *const (), ()>: Send);
1023 assert_impl!(sink::Send<'_, (), ()>: Send);
1024 assert_not_impl!(sink::Send<'_, (), *const ()>: Send);
1025 assert_not_impl!(sink::Send<'_, *const (), ()>: Send);
1026 assert_impl!(sink::Send<'_, (), ()>: Sync);
1027 assert_not_impl!(sink::Send<'_, (), *const ()>: Sync);
1028 assert_not_impl!(sink::Send<'_, *const (), ()>: Sync);
1029 assert_impl!(sink::Send<'_, (), PhantomPinned>: Unpin);
1030 assert_not_impl!(sink::Send<'_, PhantomPinned, ()>: Unpin);
1032 assert_impl!(SendAll<'_, (), SendTryStream<()>>: Send);
1033 assert_not_impl!(SendAll<'_, (), SendTryStream>: Send);
1034 assert_not_impl!(SendAll<'_, (), LocalTryStream>: Send);
1035 assert_not_impl!(SendAll<'_, *const (), SendTryStream<()>>: Send);
1044 assert_impl!(SinkErrInto<SendSink, *const (), *const ()>: Send);
1045 assert_not_impl!(SinkErrInto<LocalSink<()>, (), ()>: Send);
1051 assert_impl!(SinkMapErr<SendSink, ()>: Send);
1052 assert_not_impl!(SinkMapErr<SendSink, *const ()>: Send);
1053 assert_not_impl!(SinkMapErr<LocalSink<()>, ()>: Send);
1060 assert_impl!(Unfold<(), (), ()>: Send);
1061 assert_not_impl!(Unfold<*const (), (), ()>: Send);
1062 assert_not_impl!(Unfold<(), *const (), ()>: Send);
1063 assert_not_impl!(Unfold<(), (), *const ()>: Send);
1071 assert_impl!(With<(), *const (), *const (), (), ()>: Send);
1072 assert_not_impl!(With<*const (), (), (), (), ()>: Send);
1073 assert_not_impl!(With<(), (), (), *const (), ()>: Send);
1074 assert_not_impl!(With<(), (), (), (), *const ()>: Send);
1083 assert_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);
1087 assert_not_impl!(WithFlatMap<(), (), (), (), *const ()>: Send);
1098 /// Assert Send/Sync/Unpin for all public types in `futures::stream`.
1103 assert_impl!(AndThen<(), (), ()>: Send);
1104 assert_not_impl!(AndThen<*const (), (), ()>: Send);
1105 assert_not_impl!(AndThen<(), *const (), ()>: Send);
1106 assert_not_impl!(AndThen<(), (), *const ()>: Send);
1115 assert_impl!(BufferUnordered<SendStream<()>>: Send);
1116 assert_not_impl!(BufferUnordered<SendStream>: Send);
1117 assert_not_impl!(BufferUnordered<LocalStream>: Send);
1124 assert_impl!(Buffered<SendStream<SendFuture<()>>>: Send);
1125 assert_not_impl!(Buffered<SendStream<SendFuture>>: Send);
1126 assert_not_impl!(Buffered<SendStream<LocalFuture>>: Send);
1127 assert_not_impl!(Buffered<LocalStream<SendFuture<()>>>: Send);
1134 assert_impl!(CatchUnwind<SendStream>: Send);
1135 assert_not_impl!(CatchUnwind<LocalStream>: Send);
1141 assert_impl!(Chain<(), ()>: Send);
1142 assert_not_impl!(Chain<(), *const ()>: Send);
1143 assert_not_impl!(Chain<*const (), ()>: Send);
1151 assert_impl!(Chunks<SendStream<()>>: Send);
1152 assert_not_impl!(Chunks<SendStream>: Send);
1153 assert_not_impl!(Chunks<LocalStream>: Send);
1160 assert_impl!(Collect<(), ()>: Send);
1161 assert_not_impl!(Collect<*const (), ()>: Send);
1162 assert_not_impl!(Collect<(), *const ()>: Send);
1169 assert_impl!(Concat<SendStream<()>>: Send);
1170 assert_not_impl!(Concat<SendStream>: Send);
1171 assert_not_impl!(Concat<LocalStream>: Send);
1178 assert_impl!(Cycle<()>: Send);
1179 assert_not_impl!(Cycle<*const ()>: Send);
1185 assert_impl!(Empty<()>: Send);
1186 assert_not_impl!(Empty<*const ()>: Send);
1191 assert_impl!(Enumerate<()>: Send);
1192 assert_not_impl!(Enumerate<*const ()>: Send);
1198 assert_impl!(ErrInto<(), *const ()>: Send);
1199 assert_not_impl!(ErrInto<*const (), ()>: Send);
1205 assert_impl!(Filter<SendStream<()>, (), ()>: Send);
1206 assert_not_impl!(Filter<LocalStream<()>, (), ()>: Send);
1207 assert_not_impl!(Filter<SendStream, (), ()>: Send);
1208 assert_not_impl!(Filter<SendStream<()>, *const (), ()>: Send);
1209 assert_not_impl!(Filter<SendStream<()>, (), *const ()>: Send);
1219 assert_impl!(FilterMap<(), (), ()>: Send);
1220 assert_not_impl!(FilterMap<*const (), (), ()>: Send);
1221 assert_not_impl!(FilterMap<(), *const (), ()>: Send);
1222 assert_not_impl!(FilterMap<(), (), *const ()>: Send);
1231 assert_impl!(FlatMap<(), (), ()>: Send);
1232 assert_not_impl!(FlatMap<*const (), (), ()>: Send);
1233 assert_not_impl!(FlatMap<(), *const (), ()>: Send);
1234 assert_not_impl!(FlatMap<(), (), *const ()>: Send);
1243 assert_impl!(Flatten<SendStream<()>>: Send);
1244 assert_not_impl!(Flatten<SendStream>: Send);
1245 assert_not_impl!(Flatten<SendStream>: Send);
1253 assert_impl!(Fold<(), (), (), ()>: Send);
1254 assert_not_impl!(Fold<*const (), (), (), ()>: Send);
1255 assert_not_impl!(Fold<(), *const (), (), ()>: Send);
1256 assert_not_impl!(Fold<(), (), *const (), ()>: Send);
1257 assert_not_impl!(Fold<(), (), (), *const ()>: Send);
1267 assert_impl!(ForEach<(), (), ()>: Send);
1268 assert_not_impl!(ForEach<*const (), (), ()>: Send);
1269 assert_not_impl!(ForEach<(), *const (), ()>: Send);
1270 assert_not_impl!(ForEach<(), (), *const ()>: Send);
1279 assert_impl!(ForEachConcurrent<(), (), ()>: Send);
1280 assert_not_impl!(ForEachConcurrent<*const (), (), ()>: Send);
1281 assert_not_impl!(ForEachConcurrent<(), *const (), ()>: Send);
1282 assert_not_impl!(ForEachConcurrent<(), (), *const ()>: Send);
1290 assert_impl!(Forward<SendTryStream<()>, ()>: Send);
1291 assert_not_impl!(Forward<SendTryStream, ()>: Send);
1292 assert_not_impl!(Forward<SendTryStream<()>, *const ()>: Send);
1293 assert_not_impl!(Forward<LocalTryStream, ()>: Send);
1302 assert_impl!(Fuse<()>: Send);
1303 assert_not_impl!(Fuse<*const ()>: Send);
1309 assert_impl!(FuturesOrdered<SendFuture<()>>: Send);
1310 assert_not_impl!(FuturesOrdered<SendFuture>: Send);
1311 assert_not_impl!(FuturesOrdered<SendFuture>: Send);
1318 assert_impl!(FuturesUnordered<()>: Send);
1319 assert_not_impl!(FuturesUnordered<*const ()>: Send);
1324 assert_impl!(Inspect<(), ()>: Send);
1325 assert_not_impl!(Inspect<*const (), ()>: Send);
1326 assert_not_impl!(Inspect<(), *const ()>: Send);
1333 assert_impl!(InspectErr<(), ()>: Send);
1334 assert_not_impl!(InspectErr<*const (), ()>: Send);
1335 assert_not_impl!(InspectErr<(), *const ()>: Send);
1342 assert_impl!(InspectOk<(), ()>: Send);
1343 assert_not_impl!(InspectOk<*const (), ()>: Send);
1344 assert_not_impl!(InspectOk<(), *const ()>: Send);
1351 assert_impl!(IntoAsyncRead<SendTryStream<Vec<u8>, io::Error>>: Send);
1352 assert_not_impl!(IntoAsyncRead<LocalTryStream<Vec<u8>, io::Error>>: Send);
1359 assert_impl!(IntoStream<()>: Send);
1360 assert_not_impl!(IntoStream<*const ()>: Send);
1366 assert_impl!(Iter<()>: Send);
1367 assert_not_impl!(Iter<*const ()>: Send);
1372 assert_impl!(Map<(), ()>: Send);
1373 assert_not_impl!(Map<*const (), ()>: Send);
1374 assert_not_impl!(Map<(), *const ()>: Send);
1381 assert_impl!(MapErr<(), ()>: Send);
1382 assert_not_impl!(MapErr<*const (), ()>: Send);
1383 assert_not_impl!(MapErr<(), *const ()>: Send);
1390 assert_impl!(MapOk<(), ()>: Send);
1391 assert_not_impl!(MapOk<*const (), ()>: Send);
1392 assert_not_impl!(MapOk<(), *const ()>: Send);
1399 assert_impl!(Next<'_, ()>: Send);
1400 assert_not_impl!(Next<'_, *const ()>: Send);
1406 assert_impl!(NextIf<'_, SendStream<()>, ()>: Send);
1407 assert_not_impl!(NextIf<'_, SendStream<()>, *const ()>: Send);
1408 assert_not_impl!(NextIf<'_, SendStream, ()>: Send);
1409 assert_not_impl!(NextIf<'_, LocalStream<()>, ()>: Send);
1413 assert_not_impl!(NextIf<'_, LocalStream<()>, ()>: Send);
1416 assert_impl!(NextIfEq<'_, SendStream<()>, ()>: Send);
1417 assert_not_impl!(NextIfEq<'_, SendStream<()>, *const ()>: Send);
1418 assert_not_impl!(NextIfEq<'_, SendStream, ()>: Send);
1419 assert_not_impl!(NextIfEq<'_, LocalStream<()>, ()>: Send);
1423 assert_not_impl!(NextIfEq<'_, LocalStream<()>, ()>: Send);
1426 assert_impl!(Once<()>: Send);
1427 assert_not_impl!(Once<*const ()>: Send);
1433 assert_impl!(OrElse<(), (), ()>: Send);
1434 assert_not_impl!(OrElse<*const (), (), ()>: Send);
1435 assert_not_impl!(OrElse<(), *const (), ()>: Send);
1436 assert_not_impl!(OrElse<(), (), *const ()>: Send);
1445 assert_impl!(Peek<'_, SendStream<()>>: Send);
1446 assert_not_impl!(Peek<'_, SendStream>: Send);
1447 assert_not_impl!(Peek<'_, LocalStream<()>>: Send);
1453 assert_impl!(PeekMut<'_, SendStream<()>>: Send);
1454 assert_not_impl!(PeekMut<'_, SendStream>: Send);
1455 assert_not_impl!(PeekMut<'_, LocalStream<()>>: Send);
1461 assert_impl!(Peekable<SendStream<()>>: Send);
1462 assert_not_impl!(Peekable<SendStream>: Send);
1463 assert_not_impl!(Peekable<LocalStream>: Send);
1470 assert_impl!(Pending<()>: Send);
1471 assert_not_impl!(Pending<*const ()>: Send);
1476 assert_impl!(PollFn<()>: Send);
1477 assert_not_impl!(PollFn<*const ()>: Send);
1482 assert_impl!(PollImmediate<SendStream>: Send);
1483 assert_not_impl!(PollImmediate<LocalStream<()>>: Send);
1489 assert_impl!(ReadyChunks<SendStream<()>>: Send);
1490 assert_impl!(ReadyChunks<SendStream>: Send);
1491 assert_not_impl!(ReadyChunks<LocalStream>: Send);
1498 assert_impl!(Repeat<()>: Send);
1499 assert_not_impl!(Repeat<*const ()>: Send);
1504 assert_impl!(RepeatWith<()>: Send);
1505 assert_not_impl!(RepeatWith<*const ()>: Send);
1512 assert_impl!(ReuniteError<(), ()>: Send);
1513 assert_not_impl!(ReuniteError<*const (), ()>: Send);
1514 assert_not_impl!(ReuniteError<(), *const ()>: Send);
1520 assert_impl!(Scan<SendStream, (), (), ()>: Send);
1521 assert_not_impl!(Scan<LocalStream<()>, (), (), ()>: Send);
1522 assert_not_impl!(Scan<SendStream<()>, *const (), (), ()>: Send);
1523 assert_not_impl!(Scan<SendStream<()>, (), *const (), ()>: Send);
1524 assert_not_impl!(Scan<SendStream<()>, (), (), *const ()>: Send);
1534 assert_impl!(Select<(), ()>: Send);
1535 assert_not_impl!(Select<*const (), ()>: Send);
1536 assert_not_impl!(Select<(), *const ()>: Send);
1544 assert_impl!(SelectAll<()>: Send);
1545 assert_not_impl!(SelectAll<*const ()>: Send);
1550 assert_impl!(SelectNextSome<'_, ()>: Send);
1551 assert_not_impl!(SelectNextSome<'_, *const ()>: Send);
1556 assert_impl!(Skip<()>: Send);
1557 assert_not_impl!(Skip<*const ()>: Send);
1563 assert_impl!(SkipWhile<SendStream<()>, (), ()>: Send);
1564 assert_not_impl!(SkipWhile<LocalStream<()>, (), ()>: Send);
1565 assert_not_impl!(SkipWhile<SendStream, (), ()>: Send);
1566 assert_not_impl!(SkipWhile<SendStream<()>, *const (), ()>: Send);
1567 assert_not_impl!(SkipWhile<SendStream<()>, (), *const ()>: Send);
1577 assert_impl!(SplitSink<(), ()>: Send);
1578 assert_not_impl!(SplitSink<*const (), ()>: Send);
1579 assert_not_impl!(SplitSink<(), *const ()>: Send);
1585 assert_impl!(SplitStream<()>: Send);
1586 assert_not_impl!(SplitStream<*const ()>: Send);
1591 assert_impl!(StreamFuture<()>: Send);
1592 assert_not_impl!(StreamFuture<*const ()>: Send);
1598 assert_impl!(Take<()>: Send);
1599 assert_not_impl!(Take<*const ()>: Send);
1605 assert_impl!(TakeUntil<SendStream, SendFuture<()>>: Send);
1606 assert_not_impl!(TakeUntil<SendStream, SendFuture>: Send);
1607 assert_not_impl!(TakeUntil<SendStream, LocalFuture<()>>: Send);
1608 assert_not_impl!(TakeUntil<LocalStream, SendFuture<()>>: Send);
1617 assert_impl!(TakeWhile<SendStream<()>, (), ()>: Send);
1618 assert_not_impl!(TakeWhile<LocalStream<()>, (), ()>: Send);
1619 assert_not_impl!(TakeWhile<SendStream, (), ()>: Send);
1620 assert_not_impl!(TakeWhile<SendStream<()>, *const (), ()>: Send);
1621 assert_not_impl!(TakeWhile<SendStream<()>, (), *const ()>: Send);
1631 assert_impl!(Then<SendStream, (), ()>: Send);
1632 assert_not_impl!(Then<LocalStream<()>, (), ()>: Send);
1633 assert_not_impl!(Then<SendStream<()>, *const (), ()>: Send);
1634 assert_not_impl!(Then<SendStream<()>, (), *const ()>: Send);
1643 assert_impl!(TryBufferUnordered<SendTryStream<()>>: Send);
1644 assert_not_impl!(TryBufferUnordered<SendTryStream>: Send);
1645 assert_not_impl!(TryBufferUnordered<LocalTryStream>: Send);
1652 assert_impl!(TryBuffered<SendTryStream<SendTryFuture<(), ()>>>: Send);
1653 assert_not_impl!(TryBuffered<SendTryStream<SendTryFuture<*const (), ()>>>: Send);
1654 assert_not_impl!(TryBuffered<SendTryStream<SendTryFuture<(), *const ()>>>: Send);
1655 assert_not_impl!(TryBuffered<SendTryStream<LocalTryFuture<(), ()>>>: Send);
1656 assert_not_impl!(TryBuffered<LocalTryStream<SendTryFuture<(), ()>>>: Send);
1666 assert_impl!(TryCollect<(), ()>: Send);
1667 assert_not_impl!(TryCollect<*const (), ()>: Send);
1668 assert_not_impl!(TryCollect<(), *const ()>: Send);
1675 assert_impl!(TryConcat<SendTryStream<()>>: Send);
1676 assert_not_impl!(TryConcat<SendTryStream>: Send);
1677 assert_not_impl!(TryConcat<LocalTryStream>: Send);
1684 assert_impl!(TryFilter<SendTryStream<()>, (), ()>: Send);
1685 assert_not_impl!(TryFilter<LocalTryStream<()>, (), ()>: Send);
1686 assert_not_impl!(TryFilter<SendTryStream, (), ()>: Send);
1687 assert_not_impl!(TryFilter<SendTryStream<()>, *const (), ()>: Send);
1688 assert_not_impl!(TryFilter<SendTryStream<()>, (), *const ()>: Send);
1698 assert_impl!(TryFilterMap<(), (), ()>: Send);
1699 assert_not_impl!(TryFilterMap<*const (), (), ()>: Send);
1700 assert_not_impl!(TryFilterMap<(), *const (), ()>: Send);
1701 assert_not_impl!(TryFilterMap<(), (), *const ()>: Send);
1710 assert_impl!(TryFlatten<SendTryStream<()>>: Send);
1711 assert_not_impl!(TryFlatten<SendTryStream>: Send);
1712 assert_not_impl!(TryFlatten<SendTryStream>: Send);
1720 assert_impl!(TryFold<(), (), (), ()>: Send);
1721 assert_not_impl!(TryFold<*const (), (), (), ()>: Send);
1722 assert_not_impl!(TryFold<(), *const (), (), ()>: Send);
1723 assert_not_impl!(TryFold<(), (), *const (), ()>: Send);
1724 assert_not_impl!(TryFold<(), (), (), *const ()>: Send);
1734 assert_impl!(TryForEach<(), (), ()>: Send);
1735 assert_not_impl!(TryForEach<*const (), (), ()>: Send);
1736 assert_not_impl!(TryForEach<(), *const (), ()>: Send);
1737 assert_not_impl!(TryForEach<(), (), *const ()>: Send);
1746 assert_impl!(TryForEachConcurrent<(), (), ()>: Send);
1747 assert_not_impl!(TryForEachConcurrent<*const (), (), ()>: Send);
1748 assert_not_impl!(TryForEachConcurrent<(), *const (), ()>: Send);
1749 assert_not_impl!(TryForEachConcurrent<(), (), *const ()>: Send);
1757 assert_impl!(TryNext<'_, ()>: Send);
1758 assert_not_impl!(TryNext<'_, *const ()>: Send);
1764 assert_impl!(TrySkipWhile<SendTryStream<()>, (), ()>: Send);
1765 assert_not_impl!(TrySkipWhile<LocalTryStream<()>, (), ()>: Send);
1766 assert_not_impl!(TrySkipWhile<SendTryStream, (), ()>: Send);
1767 assert_not_impl!(TrySkipWhile<SendTryStream<()>, *const (), ()>: Send);
1768 assert_not_impl!(TrySkipWhile<SendTryStream<()>, (), *const ()>: Send);
1778 assert_impl!(TryTakeWhile<SendTryStream<()>, (), ()>: Send);
1779 assert_not_impl!(TryTakeWhile<LocalTryStream<()>, (), ()>: Send);
1780 assert_not_impl!(TryTakeWhile<SendTryStream, (), ()>: Send);
1781 assert_not_impl!(TryTakeWhile<SendTryStream<()>, *const (), ()>: Send);
1782 assert_not_impl!(TryTakeWhile<SendTryStream<()>, (), *const ()>: Send);
1792 assert_impl!(TryUnfold<(), (), ()>: Send);
1793 assert_not_impl!(TryUnfold<*const (), (), ()>: Send);
1794 assert_not_impl!(TryUnfold<(), *const (), ()>: Send);
1795 assert_not_impl!(TryUnfold<(), (), *const ()>: Send);
1803 assert_impl!(Unfold<(), (), ()>: Send);
1804 assert_not_impl!(Unfold<*const (), (), ()>: Send);
1805 assert_not_impl!(Unfold<(), *const (), ()>: Send);
1806 assert_not_impl!(Unfold<(), (), *const ()>: Send);
1814 assert_impl!(Unzip<(), (), ()>: Send);
1815 assert_not_impl!(Unzip<*const (), (), ()>: Send);
1816 assert_not_impl!(Unzip<(), *const (), ()>: Send);
1817 assert_not_impl!(Unzip<(), (), *const ()>: Send);
1825 assert_impl!(Zip<SendStream<()>, SendStream<()>>: Send);
1826 assert_not_impl!(Zip<SendStream, SendStream<()>>: Send);
1827 assert_not_impl!(Zip<SendStream<()>, SendStream>: Send);
1828 assert_not_impl!(Zip<LocalStream, SendStream<()>>: Send);
1829 assert_not_impl!(Zip<SendStream<()>, LocalStream>: Send);
1839 assert_impl!(futures_unordered::Iter<'_, ()>: Send);
1840 assert_not_impl!(futures_unordered::Iter<'_, *const ()>: Send);
1847 assert_impl!(futures_unordered::IterMut<'_, ()>: Send);
1848 assert_not_impl!(futures_unordered::IterMut<'_, *const ()>: Send);
1855 assert_impl!(futures_unordered::IterPinMut<'_, ()>: Send);
1856 assert_not_impl!(futures_unordered::IterPinMut<'_, *const ()>: Send);
1861 assert_impl!(futures_unordered::IterPinRef<'_, ()>: Send);
1862 assert_not_impl!(futures_unordered::IterPinRef<'_, *const ()>: Send);
1867 assert_impl!(futures_unordered::IntoIter<()>: Send);
1868 assert_not_impl!(futures_unordered::IntoIter<*const ()>: Send);
1875 /// Assert Send/Sync/Unpin for all public types in `futures::task`.
1880 assert_impl!(AtomicWaker: Send);
1884 assert_impl!(FutureObj<'_, *const ()>: Send);
1888 assert_not_impl!(LocalFutureObj<'_, ()>: Send);
1892 assert_impl!(SpawnError: Send);
1896 assert_impl!(WakerRef<'_>: Send);