Trait consalign::Send

1.0.0 · source ·
pub unsafe auto trait Send { }
Expand description

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.

Implementors§

1.26.0 · source§

impl !Send for Args

1.26.0 · source§

impl !Send for ArgsOs

1.6.0 · source§

impl Send for alloc::string::Drain<'_>

1.36.0 · source§

impl Send for Waker

1.44.0 · source§

impl<'a> Send for IoSlice<'a>

1.44.0 · source§

impl<'a> Send for IoSliceMut<'a>

§

impl<'a, 'b, K, Q, V, S, A> Send for OccupiedEntryRef<'a, 'b, K, Q, V, S, A>where K: Send, Q: Sync + ?Sized, V: Send, S: Send, A: Send + Allocator + Clone,

§

impl<'a, 'b, K, Q, V, S, A> Send for OccupiedEntryRef<'a, 'b, K, Q, V, S, A>where K: Send, Q: Sync + ?Sized, V: Send, S: Send, A: Send + Allocator + Clone,

source§

impl<'a, A, D> Send for AxisChunksIter<'a, A, D>where A: Sync, D: Send,

source§

impl<'a, A, D> Send for AxisChunksIterMut<'a, A, D>where A: Send, D: Send,

source§

impl<'a, A, D> Send for AxisIter<'a, A, D>where A: Sync, D: Send,

source§

impl<'a, A, D> Send for AxisIterMut<'a, A, D>where A: Send, D: Send,

source§

impl<'a, A, D> Send for IndexedIter<'a, A, D>where A: Sync, D: Send,

source§

impl<'a, A, D> Send for IndexedIterMut<'a, A, D>where A: Send, D: Send,

source§

impl<'a, A, D> Send for ndarray::iterators::Iter<'a, A, D>where A: Sync, D: Send,

source§

impl<'a, A, D> Send for ndarray::iterators::IterMut<'a, A, D>where A: Send, D: Send,

source§

impl<'a, A, D> Send for LanesIter<'a, A, D>where A: Sync, D: Send,

source§

impl<'a, A, D> Send for LanesIterMut<'a, A, D>where A: Send, D: Send,

source§

impl<'a, T, R, C, RStride, CStride> Send for SliceStorage<'a, T, R, C, RStride, CStride>where T: Send, R: Dim, C: Dim, RStride: Dim, CStride: Dim,

source§

impl<'a, T, R, C, RStride, CStride> Send for SliceStorageMut<'a, T, R, C, RStride, CStride>where T: Send, R: Dim, C: Dim, RStride: Dim, CStride: Dim,

source§

impl<A> Send for OwnedRepr<A>where A: Send,

source§

impl<Dyn> Send for DynMetadata<Dyn>where Dyn: ?Sized,

§

impl<K, V> Send for IterMut<'_, K, V>where K: Send, V: Send,

§

impl<K, V> Send for IterMut<'_, K, V>where K: Send, V: Send,

§

impl<K, V, S, A> Send for OccupiedEntry<'_, K, V, S, A>where K: Send, V: Send, S: Send, A: Send + Allocator + Clone,

§

impl<K, V, S, A> Send for OccupiedEntry<'_, K, V, S, A>where K: Send, V: Send, S: Send, A: Send + Allocator + Clone,

§

impl<K, V, S, A> Send for RawOccupiedEntryMut<'_, K, V, S, A>where K: Send, V: Send, S: Send, A: Send + Allocator + Clone,

§

impl<K, V, S, A> Send for RawOccupiedEntryMut<'_, K, V, S, A>where K: Send, V: Send, S: Send, A: Send + Allocator + Clone,

source§

impl<S, D> Send for ArrayBase<S, D>where S: Send + Data, D: Send,

ArrayBase is Send when the storage type is.

source§

impl<T> !Send for *const Twhere T: ?Sized,

source§

impl<T> !Send for *mut Twhere T: ?Sized,

source§

impl<T> !Send for Rc<T>where T: ?Sized,

1.4.0 · source§

impl<T> !Send for alloc::rc::Weak<T>where T: ?Sized,

1.25.0 · source§

impl<T> !Send for NonNull<T>where T: ?Sized,

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

source§

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

source§

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

source§

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

source§

impl<T> Send for &Twhere T: Sync + ?Sized,

source§

impl<T> Send for ThinBox<T>where T: Send + ?Sized,

ThinBox<T> is Send if T is Send because the data is owned.

source§

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

source§

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

source§

impl<T> Send for alloc::collections::linked_list::Iter<'_, T>where T: Sync,

source§

impl<T> Send for alloc::collections::linked_list::IterMut<'_, T>where T: Send,

source§

impl<T> Send for LinkedList<T>where T: Send,

source§

impl<T> Send for Arc<T>where T: Sync + Send + ?Sized,

1.4.0 · source§

impl<T> Send for alloc::sync::Weak<T>where T: Sync + Send + ?Sized,

source§

impl<T> Send for Cell<T>where T: Send + ?Sized,

source§

impl<T> Send for RefCell<T>where T: Send + ?Sized,

1.31.0 · source§

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

source§

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

source§

impl<T> Send for core::slice::iter::Iter<'_, T>where T: Sync,

source§

impl<T> Send for core::slice::iter::IterMut<'_, T>where T: Send,

1.31.0 · source§

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

1.31.0 · source§

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

source§

impl<T> Send for AtomicPtr<T>

source§

impl<T> Send for Receiver<T>where T: Send,

source§

impl<T> Send for Sender<T>where T: Send,

source§

impl<T> Send for SyncSender<T>where T: Send,

source§

impl<T> Send for Mutex<T>where T: Send + ?Sized,

source§

impl<T> Send for OnceLock<T>where T: Send,

source§

impl<T> Send for RwLock<T>where T: Send + ?Sized,

1.29.0 · source§

impl<T> Send for JoinHandle<T>

§

impl<T> Send for Bucket<T>

1.6.0 · source§

impl<T, A> Send for alloc::collections::vec_deque::drain::Drain<'_, T, A>where T: Send, A: Allocator + Send,

1.6.0 · source§

impl<T, A> Send for alloc::vec::drain::Drain<'_, T, A>where T: Send, A: Send + Allocator,

source§

impl<T, A> Send for IntoIter<T, A>where T: Send, A: Allocator + Send,

§

impl<T, A> Send for RawDrain<'_, T, A>where A: Allocator + Copy + Send, T: Send,

§

impl<T, A> Send for RawIntoIter<T, A>where A: Allocator + Clone + Send, T: Send,

§

impl<T, A> Send for RawTable<T, A>where A: Allocator + Clone + Send, T: Send,

Auto implementors§

§

impl !Send for Vars

§

impl !Send for VarsOs

§

impl Send for Directed

§

impl Send for ScoreModel

§

impl Send for TrainType

§

impl Send for VarError

§

impl Send for JoinPathsError

§

impl Send for AlignScores

§

impl Send for AlignSums

§

impl Send for AlignfoldHyperparams

§

impl Send for AlignfoldScores

§

impl Send for Axis

§

impl Send for Command

§

impl Send for DirEntry

§

impl Send for FastaRecord

§

impl Send for File

§

impl Send for FoldScoreSets

§

impl Send for HAIRPIN_SCORES_SPECIAL

§

impl Send for Index

§

impl Send for LoopSums

§

impl Send for NewAxis

§

impl Send for Options

§

impl Send for Output

§

impl Send for Path

§

impl Send for Pool

§

impl Send for RangeInsertScores

§

impl Send for Record

§

impl Send for Sequence

§

impl<'a> Send for SplitPaths<'a>

§

impl<'a, R> Send for IndexedReaderIterator<'a, R>where R: Send,

§

impl<B> Send for Reader<B>where B: Send,

§

impl<B> Send for Records<B>where B: Send,

§

impl<F> Send for Normal<F>where F: Send,

§

impl<I: ?Sized> Send for Dim<I>where I: Send,

§

impl<Ix> Send for NodeIndex<Ix>where Ix: Send,

§

impl<K, V, S, A> Send for HashMap<K, V, S, A>where A: Send, K: Send, S: Send, V: Send,

§

impl<N> Send for Interval<N>where N: Send,

§

impl<N, E, Ty, Ix> Send for Graph<N, E, Ty, Ix>where E: Send, Ix: Send, N: Send, Ty: Send,

§

impl<R> Send for BufReader<R>where R: Send,

§

impl<R> Send for IndexedReader<R>where R: Send,

§

impl<T> Send for Align<T>where T: Send,

§

impl<T> Send for AlignfoldProbMats<T>where T: Send,

§

impl<T> Send for AlignfoldProbMatsAvg<T>where T: Send,

§

impl<T> Send for AlignfoldSums<T>where T: Send,

§

impl<T> Send for FoldScores<T>where T: Send,

§

impl<T> Send for FoldScoresTrained<T>where T: Send,

§

impl<T> Send for FoldSums<T>where T: Send,

§

impl<T> Send for MatchProbMats<T>where T: Send,

§

impl<T> Send for PairAlignfold<T>where T: Send,

§

impl<T> Send for TrainDatum<T>where T: Send,

§

impl<T, S, A> Send for HashSet<T, S, A>where A: Send, S: Send, T: Send,

§

impl<T, U> Send for Alignfold<T, U>where T: Send, U: Send,

§

impl<T, U> Send for AlignfoldWrapped<T, U>where T: Send, U: Send,

§

impl<W> Send for BufWriter<W>where W: Send,

§

impl<W> Send for Writer<W>where W: Send,