1.0.0[−][src]Trait core::marker::Send
Types that can be transferred across thread boundaries.
This trait is automatically implemented when the compiler determines it's appropriate.
An example of a non-Send
type is the reference-counting pointer
rc::Rc
. If two threads attempt to clone Rc
s that point to the same
reference-counted value, they might try to update the reference count at the
same time, which is undefined behavior because Rc
doesn't use atomic
operations. Its cousin sync::Arc
does use atomic operations (incurring
some overhead) and thus is Send
.
See the Nomicon for more details.
Implementors
impl Send for Waker
[src]
impl<T> Send for Empty<T>
[src]
impl<T> Send for AtomicPtr<T>
[src]
impl<T: Send + ?Sized> Send for &mut T
[src]
impl<T: Send> Send for core::slice::IterMut<'_, T>
[src]
impl<T: Sync + ?Sized> Send for &T
[src]
impl<T: Sync> Send for core::slice::Iter<'_, T>
[src]
impl<T: ?Sized> !Send for *const T
[src]
impl<T: ?Sized> !Send for *mut T
[src]
impl<T: ?Sized> !Send for NonNull<T>
[src]
NonNull
pointers are not Send
because the data they reference may be aliased.
impl<T: ?Sized> Send for Cell<T> where
T: Send,
[src]
T: Send,
impl<T: ?Sized> Send for RefCell<T> where
T: Send,
[src]
T: Send,
Auto implementors
impl !Send for TraitObject
[src]
impl !Send for RawWaker
[src]
impl Send for core::cmp::Ordering
[src]
impl Send for Infallible
[src]
impl Send for c_void
[src]
impl Send for Alignment
[src]
impl Send for FpCategory
[src]
impl Send for IntErrorKind
[src]
impl Send for SearchStep
[src]
impl Send for core::sync::atomic::Ordering
[src]
impl Send for AllocError
[src]
impl Send for Layout
[src]
impl Send for LayoutError
[src]
impl Send for TypeId
[src]
impl Send for float64x1_t
[src]
impl Send for float64x2_t
[src]
impl Send for int8x16x2_t
[src]
impl Send for int8x16x3_t
[src]
impl Send for int8x16x4_t
[src]
impl Send for poly8x16x2_t
[src]
impl Send for poly8x16x3_t
[src]
impl Send for poly8x16x4_t
[src]
impl Send for uint8x16x2_t
[src]
impl Send for uint8x16x3_t
[src]
impl Send for uint8x16x4_t
[src]
impl Send for APSR
[src]
impl Send for SY
[src]
impl Send for float32x2_t
[src]
impl Send for float32x4_t
[src]
impl Send for int8x8_t
[src]
impl Send for int8x8x2_t
[src]
impl Send for int8x8x3_t
[src]
impl Send for int8x8x4_t
[src]
impl Send for int8x16_t
[src]
impl Send for int16x4_t
[src]
impl Send for int16x8_t
[src]
impl Send for int32x2_t
[src]
impl Send for int32x4_t
[src]
impl Send for int64x1_t
[src]
impl Send for int64x2_t
[src]
impl Send for poly8x8_t
[src]
impl Send for poly8x8x2_t
[src]
impl Send for poly8x8x3_t
[src]
impl Send for poly8x8x4_t
[src]
impl Send for poly8x16_t
[src]
impl Send for poly16x4_t
[src]
impl Send for poly16x8_t
[src]
impl Send for poly64x1_t
[src]
impl Send for poly64x2_t
[src]
impl Send for uint8x8_t
[src]
impl Send for uint8x8x2_t
[src]
impl Send for uint8x8x3_t
[src]
impl Send for uint8x8x4_t
[src]
impl Send for uint8x16_t
[src]
impl Send for uint16x4_t
[src]
impl Send for uint16x8_t
[src]
impl Send for uint32x2_t
[src]
impl Send for uint32x4_t
[src]
impl Send for uint64x1_t
[src]
impl Send for uint64x2_t
[src]
impl Send for vector_bool_long
[src]
impl Send for vector_double
[src]
impl Send for vector_signed_long
[src]
impl Send for vector_unsigned_long
[src]
impl Send for v128
[src]
impl Send for CpuidResult
[src]
impl Send for __m128
[src]
impl Send for __m128d
[src]
impl Send for __m128i
[src]
impl Send for __m256
[src]
impl Send for __m256d
[src]
impl Send for __m256i
[src]
impl Send for __m512
[src]
impl Send for __m512d
[src]
impl Send for __m512i
[src]
impl Send for TryFromSliceError
[src]
impl Send for core::ascii::EscapeDefault
[src]
impl Send for BorrowError
[src]
impl Send for BorrowMutError
[src]
impl Send for CharTryFromError
[src]
impl Send for DecodeUtf16Error
[src]
impl Send for core::char::EscapeDebug
[src]
impl Send for core::char::EscapeDefault
[src]
impl Send for core::char::EscapeUnicode
[src]
impl Send for ParseCharError
[src]
impl Send for ToLowercase
[src]
impl Send for ToUppercase
[src]
impl Send for Error
[src]
impl Send for SipHasher
[src]
impl Send for PhantomPinned
[src]
impl Send for NonZeroI8
[src]
impl Send for NonZeroI16
[src]
impl Send for NonZeroI32
[src]
impl Send for NonZeroI64
[src]
impl Send for NonZeroI128
[src]
impl Send for NonZeroIsize
[src]
impl Send for NonZeroU8
[src]
impl Send for NonZeroU16
[src]
impl Send for NonZeroU32
[src]
impl Send for NonZeroU64
[src]
impl Send for NonZeroU128
[src]
impl Send for NonZeroUsize
[src]
impl Send for ParseFloatError
[src]
impl Send for ParseIntError
[src]
impl Send for TryFromIntError
[src]
impl Send for RangeFull
[src]
impl Send for NoneError
[src]
impl Send for Utf8Lossy
[src]
impl Send for ParseBoolError
[src]
impl Send for Utf8Error
[src]
impl Send for AtomicBool
[src]
impl Send for AtomicI8
[src]
impl Send for AtomicI16
[src]
impl Send for AtomicI32
[src]
impl Send for AtomicI64
[src]
impl Send for AtomicIsize
[src]
impl Send for AtomicU8
[src]
impl Send for AtomicU16
[src]
impl Send for AtomicU32
[src]
impl Send for AtomicU64
[src]
impl Send for AtomicUsize
[src]
impl Send for RawWakerVTable
[src]
impl Send for Duration
[src]
impl<'a> !Send for Arguments<'a>
[src]
impl<'a> !Send for Formatter<'a>
[src]
impl<'a> !Send for PanicInfo<'a>
[src]
impl<'a> Send for Location<'a>
[src]
impl<'a> Send for Utf8LossyChunk<'a>
[src]
impl<'a> Send for Utf8LossyChunksIter<'a>
[src]
impl<'a> Send for CharSearcher<'a>
[src]
impl<'a> Send for Bytes<'a>
[src]
impl<'a> Send for CharIndices<'a>
[src]
impl<'a> Send for Chars<'a>
[src]
impl<'a> Send for EncodeUtf16<'a>
[src]
impl<'a> Send for core::str::EscapeDebug<'a>
[src]
impl<'a> Send for core::str::EscapeDefault<'a>
[src]
impl<'a> Send for core::str::EscapeUnicode<'a>
[src]
impl<'a> Send for Lines<'a>
[src]
impl<'a> Send for LinesAny<'a>
[src]
impl<'a> Send for SplitAsciiWhitespace<'a>
[src]
impl<'a> Send for SplitWhitespace<'a>
[src]
impl<'a> Send for Context<'a>
[src]
impl<'a, 'b> !Send for DebugList<'a, 'b>
[src]
impl<'a, 'b> !Send for DebugMap<'a, 'b>
[src]
impl<'a, 'b> !Send for DebugSet<'a, 'b>
[src]
impl<'a, 'b> !Send for DebugStruct<'a, 'b>
[src]
impl<'a, 'b> !Send for DebugTuple<'a, 'b>
[src]
impl<'a, 'b> Send for CharSliceSearcher<'a, 'b>
[src]
impl<'a, 'b> Send for StrSearcher<'a, 'b>
[src]
impl<'a, 'f> !Send for VaList<'a, 'f>
[src]
impl<'a, A> Send for core::option::Iter<'a, A> where
A: Sync,
[src]
A: Sync,
impl<'a, A> Send for core::option::IterMut<'a, A> where
A: Send,
[src]
A: Send,
impl<'a, F> Send for CharPredicateSearcher<'a, F> where
F: MultiCharEq + Send,
[src]
F: MultiCharEq + Send,
impl<'a, P> Send for MatchIndices<'a, P> where
<P as Pattern<'a>>::Searcher: Send,
[src]
<P as Pattern<'a>>::Searcher: Send,
impl<'a, P> Send for Matches<'a, P> where
<P as Pattern<'a>>::Searcher: Send,
[src]
<P as Pattern<'a>>::Searcher: Send,
impl<'a, P> Send for RMatchIndices<'a, P> where
<P as Pattern<'a>>::Searcher: Send,
[src]
<P as Pattern<'a>>::Searcher: Send,
impl<'a, P> Send for RMatches<'a, P> where
<P as Pattern<'a>>::Searcher: Send,
[src]
<P as Pattern<'a>>::Searcher: Send,
impl<'a, P> Send for core::str::RSplit<'a, P> where
<P as Pattern<'a>>::Searcher: Send,
[src]
<P as Pattern<'a>>::Searcher: Send,
impl<'a, P> Send for core::str::RSplitN<'a, P> where
<P as Pattern<'a>>::Searcher: Send,
[src]
<P as Pattern<'a>>::Searcher: Send,
impl<'a, P> Send for RSplitTerminator<'a, P> where
<P as Pattern<'a>>::Searcher: Send,
[src]
<P as Pattern<'a>>::Searcher: Send,
impl<'a, P> Send for core::str::Split<'a, P> where
<P as Pattern<'a>>::Searcher: Send,
[src]
<P as Pattern<'a>>::Searcher: Send,
impl<'a, P> Send for core::str::SplitN<'a, P> where
<P as Pattern<'a>>::Searcher: Send,
[src]
<P as Pattern<'a>>::Searcher: Send,
impl<'a, P> Send for SplitTerminator<'a, P> where
<P as Pattern<'a>>::Searcher: Send,
[src]
<P as Pattern<'a>>::Searcher: Send,
impl<'a, T> Send for core::result::Iter<'a, T> where
T: Sync,
[src]
T: Sync,
impl<'a, T> Send for core::result::IterMut<'a, T> where
T: Send,
[src]
T: Send,
impl<'a, T> Send for Chunks<'a, T> where
T: Sync,
[src]
T: Sync,
impl<'a, T> Send for ChunksExact<'a, T> where
T: Sync,
[src]
T: Sync,
impl<'a, T> Send for ChunksExactMut<'a, T> where
T: Send,
[src]
T: Send,
impl<'a, T> Send for ChunksMut<'a, T> where
T: Send,
[src]
T: Send,
impl<'a, T> Send for RChunks<'a, T> where
T: Sync,
[src]
T: Sync,
impl<'a, T> Send for RChunksExact<'a, T> where
T: Sync,
[src]
T: Sync,
impl<'a, T> Send for RChunksExactMut<'a, T> where
T: Send,
[src]
T: Send,
impl<'a, T> Send for RChunksMut<'a, T> where
T: Send,
[src]
T: Send,
impl<'a, T> Send for Windows<'a, T> where
T: Sync,
[src]
T: Sync,
impl<'a, T, P> Send for core::slice::RSplit<'a, T, P> where
P: Send,
T: Sync,
[src]
P: Send,
T: Sync,
impl<'a, T, P> Send for RSplitMut<'a, T, P> where
P: Send,
T: Send,
[src]
P: Send,
T: Send,
impl<'a, T, P> Send for core::slice::RSplitN<'a, T, P> where
P: Send,
T: Sync,
[src]
P: Send,
T: Sync,
impl<'a, T, P> Send for RSplitNMut<'a, T, P> where
P: Send,
T: Send,
[src]
P: Send,
T: Send,
impl<'a, T, P> Send for core::slice::Split<'a, T, P> where
P: Send,
T: Sync,
[src]
P: Send,
T: Sync,
impl<'a, T, P> Send for SplitInclusive<'a, T, P> where
P: Send,
T: Sync,
[src]
P: Send,
T: Sync,
impl<'a, T, P> Send for SplitInclusiveMut<'a, T, P> where
P: Send,
T: Send,
[src]
P: Send,
T: Send,
impl<'a, T, P> Send for SplitMut<'a, T, P> where
P: Send,
T: Send,
[src]
P: Send,
T: Send,
impl<'a, T, P> Send for core::slice::SplitN<'a, T, P> where
P: Send,
T: Sync,
[src]
P: Send,
T: Sync,
impl<'a, T, P> Send for SplitNMut<'a, T, P> where
P: Send,
T: Send,
[src]
P: Send,
T: Send,
impl<'a, T, const N: usize> !Send for ArrayWindows<'a, T, N>
[src]
impl<'a, T, const N: usize> Send for ArrayChunks<'a, T, N> where
T: Sync,
[src]
T: Sync,
impl<'a, T, const N: usize> Send for ArrayChunksMut<'a, T, N> where
T: Send,
[src]
T: Send,
impl<'b, T> !Send for Ref<'b, T>
[src]
impl<'b, T> !Send for RefMut<'b, T>
[src]
impl<'f> !Send for VaListImpl<'f>
[src]
impl<A> Send for Repeat<A> where
A: Send,
[src]
A: Send,
impl<A> Send for core::option::IntoIter<A> where
A: Send,
[src]
A: Send,
impl<A, B> Send for Chain<A, B> where
A: Send,
B: Send,
[src]
A: Send,
B: Send,
impl<A, B> Send for Zip<A, B> where
A: Send,
B: Send,
[src]
A: Send,
B: Send,
impl<B, C> Send for ControlFlow<B, C> where
B: Send,
C: Send,
[src]
B: Send,
C: Send,
impl<F> Send for PollFn<F> where
F: Send,
[src]
F: Send,
impl<F> Send for FromFn<F> where
F: Send,
[src]
F: Send,
impl<F> Send for OnceWith<F> where
F: Send,
[src]
F: Send,
impl<F> Send for RepeatWith<F> where
F: Send,
[src]
F: Send,
impl<H> Send for BuildHasherDefault<H> where
H: Send,
[src]
H: Send,
impl<I> Send for DecodeUtf16<I> where
I: Send,
[src]
I: Send,
impl<I> Send for Cloned<I> where
I: Send,
[src]
I: Send,
impl<I> Send for Copied<I> where
I: Send,
[src]
I: Send,
impl<I> Send for Cycle<I> where
I: Send,
[src]
I: Send,
impl<I> Send for Enumerate<I> where
I: Send,
[src]
I: Send,
impl<I> Send for Flatten<I> where
I: Send,
<<I as Iterator>::Item as IntoIterator>::IntoIter: Send,
[src]
I: Send,
<<I as Iterator>::Item as IntoIterator>::IntoIter: Send,
impl<I> Send for Fuse<I> where
I: Send,
[src]
I: Send,
impl<I> Send for Peekable<I> where
I: Send,
<I as Iterator>::Item: Send,
[src]
I: Send,
<I as Iterator>::Item: Send,
impl<I> Send for Skip<I> where
I: Send,
[src]
I: Send,
impl<I> Send for StepBy<I> where
I: Send,
[src]
I: Send,
impl<I> Send for Take<I> where
I: Send,
[src]
I: Send,
impl<I, F> Send for FilterMap<I, F> where
F: Send,
I: Send,
[src]
F: Send,
I: Send,
impl<I, F> Send for Inspect<I, F> where
F: Send,
I: Send,
[src]
F: Send,
I: Send,
impl<I, F> Send for Map<I, F> where
F: Send,
I: Send,
[src]
F: Send,
I: Send,
impl<I, P> Send for Filter<I, P> where
I: Send,
P: Send,
[src]
I: Send,
P: Send,
impl<I, P> Send for MapWhile<I, P> where
I: Send,
P: Send,
[src]
I: Send,
P: Send,
impl<I, P> Send for SkipWhile<I, P> where
I: Send,
P: Send,
[src]
I: Send,
P: Send,
impl<I, P> Send for TakeWhile<I, P> where
I: Send,
P: Send,
[src]
I: Send,
P: Send,
impl<I, St, F> Send for Scan<I, St, F> where
F: Send,
I: Send,
St: Send,
[src]
F: Send,
I: Send,
St: Send,
impl<I, U, F> Send for FlatMap<I, U, F> where
F: Send,
I: Send,
<U as IntoIterator>::IntoIter: Send,
[src]
F: Send,
I: Send,
<U as IntoIterator>::IntoIter: Send,
impl<Idx> Send for Range<Idx> where
Idx: Send,
[src]
Idx: Send,
impl<Idx> Send for RangeFrom<Idx> where
Idx: Send,
[src]
Idx: Send,
impl<Idx> Send for RangeInclusive<Idx> where
Idx: Send,
[src]
Idx: Send,
impl<Idx> Send for RangeTo<Idx> where
Idx: Send,
[src]
Idx: Send,
impl<Idx> Send for RangeToInclusive<Idx> where
Idx: Send,
[src]
Idx: Send,
impl<P> Send for Pin<P> where
P: Send,
[src]
P: Send,
impl<T> Send for Bound<T> where
T: Send,
[src]
T: Send,
impl<T> Send for Option<T> where
T: Send,
[src]
T: Send,
impl<T> Send for Poll<T> where
T: Send,
[src]
T: Send,
impl<T> Send for Reverse<T> where
T: Send,
[src]
T: Send,
impl<T> Send for Pending<T> where
T: Send,
[src]
T: Send,
impl<T> Send for Ready<T> where
T: Send,
[src]
T: Send,
impl<T> Send for Once<T> where
T: Send,
[src]
T: Send,
impl<T> Send for Rev<T> where
T: Send,
[src]
T: Send,
impl<T> Send for OnceCell<T> where
T: Send,
[src]
T: Send,
impl<T> Send for Discriminant<T> where
<T as DiscriminantKind>::Discriminant: Send,
[src]
<T as DiscriminantKind>::Discriminant: Send,
impl<T> Send for Wrapping<T> where
T: Send,
[src]
T: Send,
impl<T> Send for core::result::IntoIter<T> where
T: Send,
[src]
T: Send,
impl<T> Send for MaybeUninit<T> where
T: Send,
[src]
T: Send,
impl<T, E> Send for Result<T, E> where
E: Send,
T: Send,
[src]
E: Send,
T: Send,
impl<T, F> Send for Successors<T, F> where
F: Send,
T: Send,
[src]
F: Send,
T: Send,
impl<T, F> Send for Lazy<T, F> where
F: Send,
T: Send,
[src]
F: Send,
T: Send,
impl<T, const N: usize> Send for core::array::IntoIter<T, N> where
T: Send,
[src]
T: Send,
impl<T: ?Sized> Send for UnsafeCell<T> where
T: Send,
[src]
T: Send,
impl<T: ?Sized> Send for PhantomData<T> where
T: Send,
[src]
T: Send,
impl<T: ?Sized> Send for ManuallyDrop<T> where
T: Send,
[src]
T: Send,
impl<Y, R> Send for GeneratorState<Y, R> where
R: Send,
Y: Send,
[src]
R: Send,
Y: Send,