1.0.0[][src]Trait scale_info::prelude::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<'_, T> !Send for RwLockReadGuard<'_, T> where
    T: ?Sized
[src]

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

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

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

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

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

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

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

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

impl !Send for Args[src]

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

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

impl !Send for ArgsOs[src]

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

impl Send for Once[src]

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

impl<'_, T> Send for &'_ T where
    T: Sync + ?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 &'_ mut T where
    T: Send + ?Sized
[src]

impl Send for Waker[src]

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

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

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

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

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

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

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

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

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

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

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

impl<'a, A> Send for Drain<'a, A> where
    A: Array + 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 scale_info::prelude::string::Drain<'_>1.6.0[src]

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

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

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

impl<'_, T> Send for scale_info::prelude::collections::linked_list::IterMut<'_, T> where
    T: Send
[src]

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

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

impl<'_, T, A> Send for scale_info::prelude::vec::Drain<'_, T, A> where
    T: Send,
    A: Send + Allocator
1.6.0[src]

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

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

Loading content...

Auto implementors

impl Send for Fieldless[src]

impl Send for Fields[src]

impl Send for NamedFields[src]

impl Send for NoFields[src]

impl Send for NoVariants[src]

impl Send for UnnamedFields[src]

impl Send for VariantFields[src]

impl Send for Variants[src]

impl Send for PathAssigned[src]

impl Send for PathNotAssigned[src]

impl Send for PathError[src]

impl Send for TypeDefPrimitive[src]

impl Send for MetaForm[src]

impl Send for Ordering[src]

impl Send for TryReserveError[src]

impl Send for scale_info::prelude::fmt::Alignment[src]

impl Send for FpCategory[src]

impl Send for IntErrorKind[src]

impl Send for TypeId[src]

impl Send for DefaultHasher[src]

impl Send for RandomState[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 FromUtf8Error[src]

impl Send for FromUtf16Error[src]

impl Send for String[src]

impl Send for MetaType[src]

impl Send for Registry[src]

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

impl<'a> !Send for Formatter<'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, I, A> Send for Splice<'a, I, A> where
    A: Send,
    I: Send,
    <I as Iterator>::Item: Send
[src]

impl<'a, K> Send for scale_info::prelude::collections::hash_set::Drain<'a, K> where
    K: Send
[src]

impl<'a, K> Send for scale_info::prelude::collections::hash_set::Iter<'a, K> where
    K: Sync
[src]

impl<'a, K, F> Send for scale_info::prelude::collections::hash_set::DrainFilter<'a, K, F> where
    F: Send,
    K: Send
[src]

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

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

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

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

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

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

impl<'a, K, V> Send for scale_info::prelude::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 scale_info::prelude::collections::btree_map::VacantEntry<'a, K, V> where
    K: Send,
    V: Send
[src]

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

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

impl<'a, K, V> Send for scale_info::prelude::collections::hash_map::Drain<'a, K, V> where
    K: Send,
    V: Send
[src]

impl<'a, K, V> Send for scale_info::prelude::collections::hash_map::Iter<'a, K, V> where
    K: Sync,
    V: Sync
[src]

impl<'a, K, V> Send for scale_info::prelude::collections::hash_map::IterMut<'a, K, V> where
    K: Send,
    V: Send
[src]

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

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

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

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

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

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

impl<'a, K, V, F> Send for scale_info::prelude::collections::hash_map::DrainFilter<'a, K, V, F> where
    F: Send,
    K: Send,
    V: Send
[src]

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

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

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

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

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

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

impl<'a, T> Send for scale_info::prelude::collections::binary_heap::Drain<'a, T> where
    T: Send
[src]

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

impl<'a, T> Send for scale_info::prelude::collections::binary_heap::Iter<'a, T> where
    T: Sync
[src]

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

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

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

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

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

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

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

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

impl<'a, T, F> !Send for scale_info::prelude::collections::linked_list::DrainFilter<'a, T, F>[src]

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

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

impl<'a, T, S> Send for scale_info::prelude::collections::hash_set::Difference<'a, T, S> where
    S: Sync,
    T: Sync
[src]

impl<'a, T, S> Send for scale_info::prelude::collections::hash_set::Intersection<'a, T, S> where
    S: Sync,
    T: Sync
[src]

impl<'a, T, S> Send for scale_info::prelude::collections::hash_set::SymmetricDifference<'a, T, S> where
    S: Sync,
    T: Sync
[src]

impl<'a, T, S> Send for scale_info::prelude::collections::hash_set::Union<'a, T, S> where
    S: Sync,
    T: Sync
[src]

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

impl<K> Send for scale_info::prelude::collections::hash_set::IntoIter<K> where
    K: Send
[src]

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

impl<K, V> Send for scale_info::prelude::collections::btree_map::IntoKeys<K, V> where
    K: Send,
    V: Send
[src]

impl<K, V> Send for scale_info::prelude::collections::btree_map::IntoValues<K, V> where
    K: Send,
    V: Send
[src]

impl<K, V> Send for scale_info::prelude::collections::hash_map::IntoIter<K, V> where
    K: Send,
    V: Send
[src]

impl<K, V> Send for scale_info::prelude::collections::hash_map::IntoKeys<K, V> where
    K: Send,
    V: Send
[src]

impl<K, V> Send for scale_info::prelude::collections::hash_map::IntoValues<K, V> where
    K: Send,
    V: Send
[src]

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

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

impl<S> Send for TypeBuilder<S>[src]

impl<S> Send for PortableForm<S> where
    S: Send
[src]

impl<S> Send for PortableRegistry<S> where
    S: Send
[src]

impl<T> Send for TypeDef<T> where
    <T as Form>::String: Send,
    <T as Form>::Type: Send
[src]

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

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

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

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

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

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

impl<T> Send for scale_info::prelude::collections::binary_heap::IntoIter<T> where
    T: Send
[src]

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

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

impl<T> Send for scale_info::prelude::collections::linked_list::IntoIter<T> where
    T: Send
[src]

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

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

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

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

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

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

impl<T> Send for Field<T> where
    <T as Form>::String: Send,
    <T as Form>::Type: Send
[src]

impl<T> Send for Path<T> where
    <T as Form>::String: Send
[src]

impl<T> Send for Type<T> where
    <T as Form>::String: Send,
    <T as Form>::Type: Send
[src]

impl<T> Send for TypeDefArray<T> where
    <T as Form>::Type: Send
[src]

impl<T> Send for TypeDefComposite<T> where
    <T as Form>::String: Send,
    <T as Form>::Type: Send
[src]

impl<T> Send for TypeDefPhantom<T> where
    <T as Form>::Type: Send
[src]

impl<T> Send for TypeDefSequence<T> where
    <T as Form>::Type: Send
[src]

impl<T> Send for TypeDefTuple<T> where
    <T as Form>::Type: Send
[src]

impl<T> Send for TypeDefVariant<T> where
    <T as Form>::String: Send,
    <T as Form>::Type: Send
[src]

impl<T> Send for Variant<T> where
    <T as Form>::String: Send,
    <T as Form>::Type: 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, S> Send for HashSet<T, S> where
    S: Send,
    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]

Loading content...