1.0.0[][src]Trait no_std_compat::marker::Send

pub unsafe auto trait 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 Rcs 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.

Implementations on Foreign Types

impl Send for Argument

impl Send for FormatSpec

impl Send for Alignment

impl Send for Count

impl Send for Big32x40

impl Send for Big8x3

impl Send for Sign

impl<'a> Send for Decimal<'a>

impl<'a> Send for ParseResult<'a>

impl Send for Unpacked

impl Send for Decoded

impl Send for FullDecoded

impl<'a> Send for Part<'a>

impl<'a> Send for Formatted<'a>

impl Send for Sign

Loading content...

Implementors

impl Send for Waker[src]

impl<'_, T> Send for &'_ T where
    T: Sync + ?Sized
[src]

impl<'_, T> Send for &'_ mut T where
    T: Send + ?Sized
[src]

impl<'_, T> Send for no_std_compat::slice::Iter<'_, T> where
    T: Sync
[src]

impl<'_, T> Send for no_std_compat::slice::IterMut<'_, T> where
    T: Send
[src]

impl<T> !Send for *const T where
    T: ?Sized
[src]

impl<T> !Send for *mut T where
    T: ?Sized
[src]

impl<T> !Send for NonNull<T> where
    T: ?Sized
[src]

NonNull pointers are not Send because the data they reference may be aliased.

impl<T> Send for AtomicPtr<T>[src]

impl<T> Send for Empty<T>[src]

impl<T> Send for Cell<T> where
    T: Send + ?Sized
[src]

impl<T> Send for RefCell<T> where
    T: Send + ?Sized
[src]

Loading content...

Auto implementors

impl !Send for MemoryBlock

impl !Send for RawWaker

impl Send for AllocErr

impl Send for AllocInit

impl Send for ReallocPlacement

impl Send for Layout

impl Send for LayoutErr

impl Send for TypeId

impl Send for TryFromSliceError

impl Send for no_std_compat::ascii::EscapeDefault

impl Send for BorrowError

impl Send for BorrowMutError

impl Send for no_std_compat::char::EscapeUnicode

impl Send for no_std_compat::char::EscapeDefault

impl Send for no_std_compat::char::EscapeDebug

impl Send for ToLowercase

impl Send for ToUppercase

impl Send for CharTryFromError

impl Send for ParseCharError

impl Send for no_std_compat::cmp::Ordering

impl Send for Infallible

impl Send for c_void

impl Send for no_std_compat::fmt::Alignment

impl Send for Error

impl Send for SipHasher

impl Send for PhantomPinned

impl Send for NonZeroUsize

impl Send for NonZeroIsize

impl Send for ParseFloatError

impl Send for FpCategory

impl Send for TryFromIntError

impl Send for ParseIntError

impl Send for IntErrorKind

impl Send for RangeFull

impl Send for NoneError

impl Send for SearchStep

impl Send for ParseBoolError

impl Send for AtomicBool

impl Send for no_std_compat::sync::atomic::Ordering

impl Send for AtomicIsize

impl Send for AtomicUsize

impl Send for RawWakerVTable

impl Send for Duration

impl Send for isize

impl Send for usize

impl Send for bool

impl Send for char

impl Send for str

impl Send for CpuidResult

impl Send for __m128

impl Send for __m128d

impl Send for __m128i

impl Send for __m256

impl Send for __m256d

impl Send for __m256i

impl Send for __m512

impl Send for __m512d

impl Send for __m512i

impl Send for __m64

impl Send for DecodeUtf16Error

impl Send for NonZeroI128

impl Send for NonZeroI16

impl Send for NonZeroI32

impl Send for NonZeroI64

impl Send for NonZeroI8

impl Send for NonZeroU128

impl Send for NonZeroU16

impl Send for NonZeroU32

impl Send for NonZeroU64

impl Send for NonZeroU8

impl Send for Utf8Lossy

impl Send for Utf8Error

impl Send for AtomicI16

impl Send for AtomicI32

impl Send for AtomicI64

impl Send for AtomicI8

impl Send for AtomicU16

impl Send for AtomicU32

impl Send for AtomicU64

impl Send for AtomicU8

impl Send for [u8]

impl Send for f32

impl Send for f64

impl Send for i8

impl Send for i16

impl Send for i32

impl Send for i64

impl Send for i128

impl Send for u8

impl Send for u16

impl Send for u32

impl Send for u64

impl Send for u128

impl<'a> !Send for Formatter<'a>

impl<'a> !Send for Arguments<'a>

impl<'a> Send for CharSearcher<'a>

impl<'a> Send for Chars<'a>

impl<'a> Send for CharIndices<'a>

impl<'a> Send for Bytes<'a>

impl<'a> Send for Lines<'a>

impl<'a> Send for LinesAny<'a>

impl<'a> Send for SplitWhitespace<'a>

impl<'a> Send for SplitAsciiWhitespace<'a>

impl<'a> Send for no_std_compat::str::EscapeDebug<'a>

impl<'a> Send for no_std_compat::str::EscapeDefault<'a>

impl<'a> Send for no_std_compat::str::EscapeUnicode<'a>

impl<'a> Send for Context<'a>

impl<'a> Send for Utf8LossyChunk<'a>

impl<'a> Send for Utf8LossyChunksIter<'a>

impl<'a> Send for EncodeUtf16<'a>

impl<'a, 'b> !Send for DebugList<'a, 'b>

impl<'a, 'b> !Send for DebugMap<'a, 'b>

impl<'a, 'b> !Send for DebugSet<'a, 'b>

impl<'a, 'b> !Send for DebugStruct<'a, 'b>

impl<'a, 'b> !Send for DebugTuple<'a, 'b>

impl<'a, 'b> Send for CharSliceSearcher<'a, 'b>

impl<'a, 'b> Send for StrSearcher<'a, 'b>

impl<'a, 'f> !Send for VaList<'a, 'f>

impl<'a, A> Send for no_std_compat::option::Iter<'a, A> where
    A: Sync

impl<'a, A> Send for no_std_compat::option::IterMut<'a, A> where
    A: Send

impl<'a, F> Send for CharPredicateSearcher<'a, F> where
    F: MultiCharEq + Send

impl<'a, P> Send for MatchIndices<'a, P> where
    <P as Pattern<'a>>::Searcher: Send

impl<'a, P> Send for Matches<'a, P> where
    <P as Pattern<'a>>::Searcher: Send

impl<'a, P> Send for RMatchIndices<'a, P> where
    <P as Pattern<'a>>::Searcher: Send

impl<'a, P> Send for RMatches<'a, P> where
    <P as Pattern<'a>>::Searcher: Send

impl<'a, P> Send for no_std_compat::str::RSplit<'a, P> where
    <P as Pattern<'a>>::Searcher: Send

impl<'a, P> Send for no_std_compat::str::RSplitN<'a, P> where
    <P as Pattern<'a>>::Searcher: Send

impl<'a, P> Send for RSplitTerminator<'a, P> where
    <P as Pattern<'a>>::Searcher: Send

impl<'a, P> Send for no_std_compat::str::Split<'a, P> where
    <P as Pattern<'a>>::Searcher: Send

impl<'a, P> Send for no_std_compat::str::SplitInclusive<'a, P> where
    <P as Pattern<'a>>::Searcher: Send

impl<'a, P> Send for no_std_compat::str::SplitN<'a, P> where
    <P as Pattern<'a>>::Searcher: Send

impl<'a, P> Send for SplitTerminator<'a, P> where
    <P as Pattern<'a>>::Searcher: Send

impl<'a, T> Send for no_std_compat::result::Iter<'a, T> where
    T: Sync

impl<'a, T> Send for no_std_compat::result::IterMut<'a, T> where
    T: Send

impl<'a, T> Send for Chunks<'a, T> where
    T: Sync

impl<'a, T> Send for ChunksExact<'a, T> where
    T: Sync

impl<'a, T> Send for ChunksExactMut<'a, T> where
    T: Send

impl<'a, T> Send for ChunksMut<'a, T> where
    T: Send

impl<'a, T> Send for RChunks<'a, T> where
    T: Sync

impl<'a, T> Send for RChunksExact<'a, T> where
    T: Sync

impl<'a, T> Send for RChunksExactMut<'a, T> where
    T: Send

impl<'a, T> Send for RChunksMut<'a, T> where
    T: Send

impl<'a, T> Send for Windows<'a, T> where
    T: Sync

impl<'a, T, P> Send for no_std_compat::slice::RSplit<'a, T, P> where
    P: Send,
    T: Sync

impl<'a, T, P> Send for RSplitMut<'a, T, P> where
    P: Send,
    T: Send

impl<'a, T, P> Send for no_std_compat::slice::RSplitN<'a, T, P> where
    P: Send,
    T: Sync

impl<'a, T, P> Send for RSplitNMut<'a, T, P> where
    P: Send,
    T: Send

impl<'a, T, P> Send for no_std_compat::slice::Split<'a, T, P> where
    P: Send,
    T: Sync

impl<'a, T, P> Send for no_std_compat::slice::SplitInclusive<'a, T, P> where
    P: Send,
    T: Sync

impl<'a, T, P> Send for SplitInclusiveMut<'a, T, P> where
    P: Send,
    T: Send

impl<'a, T, P> Send for SplitMut<'a, T, P> where
    P: Send,
    T: Send

impl<'a, T, P> Send for no_std_compat::slice::SplitN<'a, T, P> where
    P: Send,
    T: Sync

impl<'a, T, P> Send for SplitNMut<'a, T, P> where
    P: Send,
    T: Send

impl<'b, T> !Send for Ref<'b, T>

impl<'b, T> !Send for RefMut<'b, T>

impl<'f> !Send for VaListImpl<'f>

impl<A> Send for Repeat<A> where
    A: Send

impl<A> Send for no_std_compat::option::IntoIter<A> where
    A: Send

impl<A, B> Send for Chain<A, B> where
    A: Send,
    B: Send

impl<A, B> Send for Zip<A, B> where
    A: Send,
    B: Send

impl<F> Send for PollFn<F> where
    F: Send

impl<F> Send for FromFn<F> where
    F: Send

impl<F> Send for OnceWith<F> where
    F: Send

impl<F> Send for RepeatWith<F> where
    F: Send

impl<H> Send for BuildHasherDefault<H> where
    H: Send

impl<I> Send for DecodeUtf16<I> where
    I: Send

impl<I> Send for Cloned<I> where
    I: Send

impl<I> Send for Copied<I> where
    I: Send

impl<I> Send for Cycle<I> where
    I: Send

impl<I> Send for Enumerate<I> where
    I: Send

impl<I> Send for Flatten<I> where
    I: Send,
    <<I as Iterator>::Item as IntoIterator>::IntoIter: Send

impl<I> Send for Fuse<I> where
    I: Send

impl<I> Send for Peekable<I> where
    I: Send,
    <I as Iterator>::Item: Send

impl<I> Send for Skip<I> where
    I: Send

impl<I> Send for StepBy<I> where
    I: Send

impl<I> Send for Take<I> where
    I: Send

impl<I, F> Send for FilterMap<I, F> where
    F: Send,
    I: Send

impl<I, F> Send for Inspect<I, F> where
    F: Send,
    I: Send

impl<I, F> Send for Map<I, F> where
    F: Send,
    I: Send

impl<I, P> Send for Filter<I, P> where
    I: Send,
    P: Send

impl<I, P> Send for MapWhile<I, P> where
    I: Send,
    P: Send

impl<I, P> Send for SkipWhile<I, P> where
    I: Send,
    P: Send

impl<I, P> Send for TakeWhile<I, P> where
    I: Send,
    P: Send

impl<I, St, F> Send for Scan<I, St, F> where
    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

impl<Idx> Send for Range<Idx> where
    Idx: Send

impl<Idx> Send for RangeFrom<Idx> where
    Idx: Send

impl<Idx> Send for RangeInclusive<Idx> where
    Idx: Send

impl<Idx> Send for RangeTo<Idx> where
    Idx: Send

impl<Idx> Send for RangeToInclusive<Idx> where
    Idx: Send

impl<P> Send for Pin<P> where
    P: Send

impl<T> Send for Bound<T> where
    T: Send

impl<T> Send for Option<T> where
    T: Send

impl<T> Send for Poll<T> where
    T: Send

impl<T> Send for Reverse<T> where
    T: Send

impl<T> Send for Pending<T> where
    T: Send

impl<T> Send for Ready<T> where
    T: Send

impl<T> Send for Once<T> where
    T: Send

impl<T> Send for Rev<T> where
    T: Send

impl<T> Send for Discriminant<T> where
    <T as DiscriminantKind>::Discriminant: Send

impl<T> Send for Wrapping<T> where
    T: Send

impl<T> Send for no_std_compat::result::IntoIter<T> where
    T: Send

impl<T> Send for MaybeUninit<T> where
    T: Send

impl<T> Send for [T] where
    T: Send

impl<T, E> Send for Result<T, E> where
    E: Send,
    T: Send

impl<T, F> Send for Successors<T, F> where
    F: Send,
    T: Send

impl<T: ?Sized> Send for UnsafeCell<T> where
    T: Send

impl<T: ?Sized> Send for PhantomData<T> where
    T: Send

impl<T: ?Sized> Send for ManuallyDrop<T> where
    T: Send

impl<Y, R> Send for GeneratorState<Y, R> where
    R: Send,
    Y: Send

impl<const N: usize, T> Send for no_std_compat::array::IntoIter<T, N> where
    T: Send

Loading content...