1.0.0[][src]Trait sp_std::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[src]

impl Send for FormatSpec[src]

impl Send for Alignment[src]

impl Send for Count[src]

impl !Send for Args[src]

impl<'a> Send for IoSlice<'a>[src]

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

impl !Send for ArgsOs[src]

impl<'a> Send for IoSliceMut<'a>[src]

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

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

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

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

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

impl Send for Waker[src]

impl<'_> Send for Drain<'_>[src]

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

impl<'_, T> Send for CursorMut<'_, T> where
    T: Send
[src]

impl<'_, T> Send for Cursor<'_, T> where
    T: Sync
[src]

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

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

impl Send for isize[src]

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

impl Send for [u8][src]

impl Send for char[src]

impl Send for u128[src]

impl Send for u16[src]

impl Send for i128[src]

impl Send for i16[src]

impl Send for str[src]

impl Send for f64[src]

impl Send for u64[src]

impl Send for u8[src]

impl Send for i64[src]

impl Send for i8[src]

impl<T, const N: usize> Send for [T; N] where
    T: Send
[src]

impl Send for bool[src]

impl Send for f32[src]

impl Send for u32[src]

impl Send for usize[src]

impl Send for i32[src]

Loading content...

Implementors

impl Send for sp_std::sync::Once[src]

impl<'_, T> !Send for MutexGuard<'_, T> where
    T: ?Sized
[src]

impl<'_, T> !Send for RwLockReadGuard<'_, T> where
    T: ?Sized
[src]

impl<'_, T> !Send for RwLockWriteGuard<'_, T> where
    T: ?Sized
[src]

impl<'_, T> Send for sp_std::collections::vec_deque::Drain<'_, T> where
    T: Send
[src]

impl<'_, T> Send for sp_std::collections::vec_deque::IterMut<'_, T> where
    T: Send
[src]

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

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

impl<'_, T, A> Send for sp_std::vec::Drain<'_, T, A> where
    T: Send,
    A: Send + Allocator
[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 Rc<T> where
    T: ?Sized
[src]

impl<T> !Send for sp_std::rc::Weak<T> where
    T: ?Sized
[src]

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

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

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

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

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

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

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

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

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

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

impl<T> Send for sp_std::sync::Weak<T> where
    T: Send + Sync + ?Sized
[src]

impl<T, A> Send for sp_std::vec::IntoIter<T, A> where
    T: Send,
    A: Send + Allocator
[src]

Loading content...

Auto implementors

impl Send for sp_std::cmp::Ordering[src]

impl Send for Infallible[src]

impl Send for sp_std::fmt::Alignment[src]

impl Send for FpCategory[src]

impl Send for IntErrorKind[src]

impl Send for SearchStep[src]

impl Send for sp_std::sync::atomic::Ordering[src]

impl Send for RecvTimeoutError[src]

impl Send for TryRecvError[src]

impl Send for AllocError[src]

impl Send for Global[src]

impl Send for Layout[src]

impl Send for LayoutError[src]

impl Send for System[src]

impl Send for TypeId[src]

impl Send for BorrowError[src]

impl Send for BorrowMutError[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 ParseBoolError[src]

impl Send for Utf8Error[src]

impl Send for Writer[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 RecvError[src]

impl Send for Barrier[src]

impl Send for BarrierWaitResult[src]

impl Send for Condvar[src]

impl Send for OnceState[src]

impl Send for WaitTimeoutResult[src]

impl<'a> !Send for Arguments<'a>[src]

impl<'a> !Send for Formatter<'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 EscapeDebug<'a>[src]

impl<'a> Send for EscapeDefault<'a>[src]

impl<'a> Send for 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, '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, B: ?Sized> Send for Cow<'a, B> where
    B: Sync,
    <B as ToOwned>::Owned: Send
[src]

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

impl<'a, I, A> Send for Splice<'a, I, A> where
    A: Send,
    I: Send,
    <I as Iterator>::Item: Send
[src]

impl<'a, K, V> Send for Entry<'a, K, V> where
    K: Send,
    V: Send
[src]

impl<'a, K, V> Send for sp_std::collections::btree_map::Iter<'a, K, V> where
    K: Sync,
    V: Sync
[src]

impl<'a, K, V> Send for sp_std::collections::btree_map::IterMut<'a, K, V> where
    K: Send,
    V: Send
[src]

impl<'a, K, V> Send for Keys<'a, K, V> where
    K: Sync,
    V: Sync
[src]

impl<'a, K, V> Send for OccupiedEntry<'a, K, V> where
    K: Send,
    V: Send
[src]

impl<'a, K, V> Send for sp_std::collections::btree_map::Range<'a, K, V> where
    K: Sync,
    V: Sync
[src]

impl<'a, K, V> Send for RangeMut<'a, K, V> where
    K: Send,
    V: Send
[src]

impl<'a, K, V> Send for VacantEntry<'a, K, V> where
    K: Send,
    V: Send
[src]

impl<'a, K, V> Send for Values<'a, K, V> where
    K: Sync,
    V: Sync
[src]

impl<'a, K, V> Send for ValuesMut<'a, K, V> where
    K: Send,
    V: Send
[src]

impl<'a, K, V, F> Send for sp_std::collections::btree_map::DrainFilter<'a, K, V, F> where
    F: Send,
    K: Send,
    V: Send
[src]

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

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

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

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

impl<'a, P> Send for sp_std::str::RSplit<'a, P> where
    <P as Pattern<'a>>::Searcher: Send
[src]

impl<'a, P> Send for sp_std::str::RSplitN<'a, P> where
    <P as Pattern<'a>>::Searcher: Send
[src]

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

impl<'a, P> Send for sp_std::str::Split<'a, P> where
    <P as Pattern<'a>>::Searcher: Send
[src]

impl<'a, P> Send for sp_std::str::SplitN<'a, P> where
    <P as Pattern<'a>>::Searcher: Send
[src]

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

impl<'a, T> !Send for sp_std::sync::mpsc::Iter<'a, T>[src]

impl<'a, T> !Send for TryIter<'a, T>[src]

impl<'a, T> Send for Difference<'a, T> where
    T: Sync
[src]

impl<'a, T> Send for Intersection<'a, T> where
    T: Sync
[src]

impl<'a, T> Send for sp_std::collections::btree_set::Iter<'a, T> where
    T: Sync
[src]

impl<'a, T> Send for sp_std::collections::btree_set::Range<'a, T> where
    T: Sync
[src]

impl<'a, T> Send for SymmetricDifference<'a, T> where
    T: Sync
[src]

impl<'a, T> Send for Union<'a, T> where
    T: Sync
[src]

impl<'a, T> Send for sp_std::collections::vec_deque::Iter<'a, T> where
    T: Sync
[src]

impl<'a, T> Send for sp_std::result::Iter<'a, T> where
    T: Sync
[src]

impl<'a, T> Send for sp_std::result::IterMut<'a, T> where
    T: Send
[src]

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

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

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

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

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

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

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

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

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

impl<'a, T, F> Send for sp_std::collections::btree_set::DrainFilter<'a, T, F> where
    F: Send,
    T: Send
[src]

impl<'a, T, F, A> Send for sp_std::vec::DrainFilter<'a, T, F, A> where
    A: Send,
    F: Send,
    T: Send
[src]

impl<'a, T, P> Send for GroupBy<'a, T, P> where
    P: Send,
    T: Sync
[src]

impl<'a, T, P> Send for GroupByMut<'a, T, P> where
    P: Send,
    T: Send
[src]

impl<'a, T, P> Send for sp_std::slice::RSplit<'a, T, P> where
    P: Send,
    T: Sync
[src]

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

impl<'a, T, P> Send for sp_std::slice::RSplitN<'a, T, P> where
    P: Send,
    T: Sync
[src]

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

impl<'a, T, P> Send for sp_std::slice::Split<'a, T, P> where
    P: Send,
    T: Sync
[src]

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

impl<'a, T, P> Send for sp_std::slice::SplitN<'a, T, P> where
    P: Send,
    T: Sync
[src]

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

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]

impl<'a, T, const N: usize> Send for ArrayChunksMut<'a, T, N> where
    T: Send
[src]

impl<'b, T> !Send for Ref<'b, T>[src]

impl<'b, T> !Send for RefMut<'b, T>[src]

impl<A> Send for Repeat<A> where
    A: Send
[src]

impl<A, B> Send for Chain<A, B> where
    A: Send,
    B: Send
[src]

impl<A, B> Send for Zip<A, B> where
    A: Send,
    B: Send
[src]

impl<B, C> Send for ControlFlow<B, C> where
    B: Send,
    C: Send
[src]

impl<F> Send for FromFn<F> where
    F: Send
[src]

impl<F> Send for OnceWith<F> where
    F: Send
[src]

impl<F> Send for RepeatWith<F> where
    F: Send
[src]

impl<H> Send for BuildHasherDefault<H> where
    H: Send
[src]

impl<I> Send for Cloned<I> where
    I: Send
[src]

impl<I> Send for Copied<I> where
    I: Send
[src]

impl<I> Send for Cycle<I> where
    I: Send
[src]

impl<I> Send for Enumerate<I> where
    I: Send
[src]

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

impl<I> Send for Fuse<I> where
    I: Send
[src]

impl<I> Send for Intersperse<I> where
    I: Send,
    <I as Iterator>::Item: Send
[src]

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

impl<I> Send for Skip<I> where
    I: Send
[src]

impl<I> Send for StepBy<I> where
    I: Send
[src]

impl<I> Send for Take<I> where
    I: Send
[src]

impl<I, F> Send for FilterMap<I, F> where
    F: Send,
    I: Send
[src]

impl<I, F> Send for Inspect<I, F> where
    F: Send,
    I: Send
[src]

impl<I, F> Send for Map<I, F> where
    F: Send,
    I: Send
[src]

impl<I, P> Send for Filter<I, P> where
    I: Send,
    P: Send
[src]

impl<I, P> Send for MapWhile<I, P> where
    I: Send,
    P: Send
[src]

impl<I, P> Send for SkipWhile<I, P> where
    I: Send,
    P: Send
[src]

impl<I, P> Send for TakeWhile<I, P> where
    I: Send,
    P: Send
[src]

impl<I, St, F> Send for Scan<I, St, F> where
    F: Send,
    I: Send,
    St: Send
[src]

impl<I, U, F> Send for FlatMap<I, U, F> where
    F: Send,
    I: Send,
    <U as IntoIterator>::IntoIter: Send
[src]

impl<Idx> Send for sp_std::ops::Range<Idx> where
    Idx: Send
[src]

impl<Idx> Send for RangeFrom<Idx> where
    Idx: Send
[src]

impl<Idx> Send for RangeInclusive<Idx> where
    Idx: Send
[src]

impl<Idx> Send for RangeTo<Idx> where
    Idx: Send
[src]

impl<Idx> Send for RangeToInclusive<Idx> where
    Idx: Send
[src]

impl<K, V> Send for BTreeMap<K, V> where
    K: Send,
    V: Send
[src]

impl<K, V> Send for sp_std::collections::btree_map::IntoIter<K, V> where
    K: Send,
    V: Send
[src]

impl<K, V> Send for IntoKeys<K, V> where
    K: Send,
    V: Send
[src]

impl<K, V> Send for IntoValues<K, V> where
    K: Send,
    V: Send
[src]

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

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

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

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

impl<T> Send for sp_std::collections::btree_set::IntoIter<T> where
    T: Send
[src]

impl<T> Send for sp_std::collections::vec_deque::IntoIter<T> where
    T: Send
[src]

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

impl<T> Send for sp_std::iter::Once<T> where
    T: Send
[src]

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

impl<T> Send for Discriminant<T> where
    <T as DiscriminantKind>::Discriminant: Send
[src]

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

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

impl<T> Send for sp_std::result::IntoIter<T> where
    T: Send
[src]

impl<T> Send for sp_std::sync::mpsc::IntoIter<T> where
    T: Send
[src]

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

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

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

impl<T, A> Send for Vec<T, A> where
    A: Send,
    T: Send
[src]

impl<T, E> Send for Result<T, E> where
    E: Send,
    T: Send
[src]

impl<T, F> Send for Successors<T, F> where
    F: Send,
    T: Send
[src]

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

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

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

impl<T: ?Sized, A> Send for Box<T, A> where
    A: Send,
    T: Send
[src]

impl<Y, R> Send for GeneratorState<Y, R> where
    R: Send,
    Y: Send
[src]

Loading content...