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

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

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

impl !Send for Select
[src]

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

impl !Send for Args
[src]

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

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

impl Send for Once
[src]

impl<T> Send for SyncSender<T> where
    T: Send
[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, T> !Send for RwLockWriteGuard<'a, T> where
    T: ?Sized
[src]

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

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

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

impl !Send for LocalWaker
[src]

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

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

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

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

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

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

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

impl<T> Send for LinkedList<T> where
    T: Send
[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, T> Send for IterMut<'a, T> where
    T: Send
[src]

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

impl Send for isize

impl Send for i8

impl Send for i16

impl Send for i32

impl Send for i64

impl Send for i128

impl Send for usize

impl Send for u8

impl Send for u16

impl Send for u32

impl Send for u64

impl Send for u128

impl Send for f32

impl Send for f64

impl Send for f32

impl Send for f64

impl Send for char

impl Send for str

impl Send for str

Loading content...

Implementors

Loading content...

Auto implementors

impl !Send for MemoryDescriptor

impl !Send for MemoryResourceStorage

impl Send for ResourceStorageError

impl Send for PhantomPinned

impl Send for FileResourceStorage

impl<'a, Idx, Ts> !Send for MultiVector<'a, Idx, Ts>

impl<'a, Idx, Ts> Send for MultiArrayView<'a, Idx, Ts> where
    Idx: Send,
    Ts: Send

impl<'a, T> !Send for ExternalVector<'a, T>

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

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

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

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

Loading content...