Trait uniffi::deps::static_assertions::_core::marker::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 and the Sync trait for more details.

Implementors§

1.26.0 · source§

impl !Send for Args

1.26.0 · source§

impl !Send for ArgsOs

§

impl Send for ForeignFuture

§

impl Send for RustBuffer

§

impl Send for uniffi::deps::bytes::Bytes

§

impl Send for BytesMut

1.36.0 · source§

impl Send for Waker

1.6.0 · source§

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

1.44.0 · source§

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

1.44.0 · source§

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

source§

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

source§

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

source§

impl<T> !Send for *mut 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 &T
where T: Sync + ?Sized,

§

impl<T> Send for uniffi::deps::oneshot::Receiver<T>
where T: Send,

§

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

§

impl<T> Send for uniffi::deps::oneshot::Sender<T>
where T: Send,

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 uniffi::deps::static_assertions::_core::slice::Iter<'_, T>
where T: Sync,

source§

impl<T> Send for uniffi::deps::static_assertions::_core::slice::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 ThinBox<T>
where T: Send + ?Sized,

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

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 std::sync::mpsc::Receiver<T>
where T: Send,

source§

impl<T> Send for std::sync::mpsc::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,

1.70.0 · 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>

source§

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

1.4.0 · source§

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

source§

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

source§

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

source§

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

1.6.0 · source§

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

source§

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

1.4.0 · source§

impl<T, A> Send for alloc::sync::Weak<T, A>
where T: Sync + Send + ?Sized, 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 alloc::vec::into_iter::IntoIter<T, A>
where T: Send, A: Allocator + Send,

Auto implementors§

§

impl !Send for ForeignBytes

§

impl !Send for RawWaker

§

impl Send for RustCallStatusCode

§

impl Send for RustFuturePoll

§

impl Send for Level

§

impl Send for LevelFilter

§

impl Send for RecvTimeoutError

§

impl Send for TryRecvError

§

impl Send for AsciiChar

§

impl Send for uniffi::deps::static_assertions::_core::cmp::Ordering

§

impl Send for Infallible

§

impl Send for c_void

§

impl Send for uniffi::deps::static_assertions::_core::fmt::Alignment

§

impl Send for BasicBlock

§

impl Send for UnwindTerminateReason

§

impl Send for IpAddr

§

impl Send for Ipv6MulticastScope

§

impl Send for SocketAddr

§

impl Send for FpCategory

§

impl Send for IntErrorKind

§

impl Send for SearchStep

§

impl Send for uniffi::deps::static_assertions::_core::sync::atomic::Ordering

§

impl Send for FullDecoded

§

impl Send for Sign

§

impl Send for Handle

§

impl Send for MetadataBuffer

§

impl Send for RustCallStatus

§

impl Send for UnexpectedUniFFICallbackError

§

impl Send for uniffi::deps::anyhow::Error

§

impl Send for UninitSlice

§

impl Send for ParseLevelError

§

impl Send for SetLoggerError

§

impl Send for RecvError

§

impl Send for AllocError

§

impl Send for Layout

§

impl Send for LayoutError

§

impl Send for TypeId

§

impl Send for CpuidResult

§

impl Send for __m128

§

impl Send for __m128bh

§

impl Send for __m128d

§

impl Send for __m128i

§

impl Send for __m256

§

impl Send for __m256bh

§

impl Send for __m256d

§

impl Send for __m256i

§

impl Send for __m512

§

impl Send for __m512bh

§

impl Send for __m512d

§

impl Send for __m512i

§

impl Send for TryFromSliceError

§

impl Send for uniffi::deps::static_assertions::_core::ascii::EscapeDefault

§

impl Send for BorrowError

§

impl Send for BorrowMutError

§

impl Send for CharTryFromError

§

impl Send for DecodeUtf16Error

§

impl Send for uniffi::deps::static_assertions::_core::char::EscapeDebug

§

impl Send for uniffi::deps::static_assertions::_core::char::EscapeDefault

§

impl Send for uniffi::deps::static_assertions::_core::char::EscapeUnicode

§

impl Send for ParseCharError

§

impl Send for ToLowercase

§

impl Send for ToUppercase

§

impl Send for TryFromCharError

§

impl Send for CStr

§

impl Send for FromBytesUntilNulError

§

impl Send for FromBytesWithNulError

§

impl Send for uniffi::deps::static_assertions::_core::fmt::Error

§

impl Send for SipHasher

§

impl Send for ReturnToArg

§

impl Send for UnwindActionArg

§

impl Send for Assume

§

impl Send for AddrParseError

§

impl Send for Ipv4Addr

§

impl Send for Ipv6Addr

§

impl Send for SocketAddrV4

§

impl Send for SocketAddrV6

§

impl Send for ParseFloatError

§

impl Send for ParseIntError

§

impl Send for TryFromIntError

§

impl Send for RangeFull

§

impl Send for uniffi::deps::static_assertions::_core::ptr::Alignment

§

impl Send for TimSortRun

§

impl Send for ParseBoolError

§

impl Send for Utf8Error

§

impl Send for AtomicBool

§

impl Send for AtomicI8

§

impl Send for AtomicI16

§

impl Send for AtomicI32

§

impl Send for AtomicI64

§

impl Send for AtomicIsize

§

impl Send for AtomicU8

§

impl Send for AtomicU16

§

impl Send for AtomicU32

§

impl Send for AtomicU64

§

impl Send for AtomicUsize

§

impl Send for RawWakerVTable

§

impl Send for Duration

§

impl Send for TryFromFloatSecsError

§

impl Send for TryCaptureWithDebug

§

impl Send for TryCaptureWithoutDebug

§

impl Send for Big32x40

§

impl Send for Big8x3

§

impl Send for Number

§

impl Send for Decoded

§

impl Send for PhantomPinned

§

impl<'a> !Send for uniffi::deps::anyhow::Chain<'a>

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

impl<'a> Send for Metadata<'a>

§

impl<'a> Send for MetadataBuilder<'a>

§

impl<'a> Send for BorrowedCursor<'a>

§

impl<'a> Send for Location<'a>

§

impl<'a> Send for EscapeAscii<'a>

§

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

§

impl<'a> Send for uniffi::deps::static_assertions::_core::str::Bytes<'a>

§

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

§

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

§

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

§

impl<'a> Send for uniffi::deps::static_assertions::_core::str::EscapeDebug<'a>

§

impl<'a> Send for uniffi::deps::static_assertions::_core::str::EscapeDefault<'a>

§

impl<'a> Send for uniffi::deps::static_assertions::_core::str::EscapeUnicode<'a>

§

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

§

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

§

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

§

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

§

impl<'a> Send for Utf8Chunk<'a>

§

impl<'a> Send for Utf8Chunks<'a>

§

impl<'a> Send for Formatted<'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, 'b, const N: usize> Send for CharArrayRefSearcher<'a, 'b, N>

§

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

§

impl<'a, A> Send for uniffi::deps::static_assertions::_core::option::Iter<'a, A>
where A: Sync,

§

impl<'a, A> Send for uniffi::deps::static_assertions::_core::option::IterMut<'a, A>
where A: Send,

§

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

§

impl<'a, I> Send for ByRefSized<'a, I>
where I: 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 uniffi::deps::static_assertions::_core::str::RSplit<'a, P>
where <P as Pattern<'a>>::Searcher: Send,

§

impl<'a, P> Send for uniffi::deps::static_assertions::_core::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 uniffi::deps::static_assertions::_core::str::Split<'a, P>
where <P as Pattern<'a>>::Searcher: Send,

§

impl<'a, P> Send for uniffi::deps::static_assertions::_core::str::SplitInclusive<'a, P>
where <P as Pattern<'a>>::Searcher: Send,

§

impl<'a, P> Send for uniffi::deps::static_assertions::_core::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 uniffi::deps::static_assertions::_core::result::Iter<'a, T>
where T: Sync,

§

impl<'a, T> Send for uniffi::deps::static_assertions::_core::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 RChunks<'a, T>
where T: Sync,

§

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

§

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

§

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

§

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

§

impl<'a, T, P> Send for uniffi::deps::static_assertions::_core::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 uniffi::deps::static_assertions::_core::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 uniffi::deps::static_assertions::_core::slice::Split<'a, T, P>
where P: Send, T: Sync,

§

impl<'a, T, P> Send for uniffi::deps::static_assertions::_core::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 uniffi::deps::static_assertions::_core::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<'a, T, const N: usize> !Send for ArrayWindows<'a, T, N>

§

impl<'a, T, const N: usize> Send for uniffi::deps::static_assertions::_core::slice::ArrayChunks<'a, T, N>
where T: Sync,

§

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

§

impl<'a, const N: usize> Send for CharArraySearcher<'a, N>

§

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

§

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

§

impl<'data> Send for BorrowedBuf<'data>

§

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

§

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

§

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

§

impl<A> Send for uniffi::deps::static_assertions::_core::option::IntoIter<A>
where A: Send,

§

impl<A, B> Send for uniffi::deps::static_assertions::_core::iter::Chain<A, B>
where A: Send, B: Send,

§

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

§

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

§

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

§

impl<B, C> Send for ControlFlow<B, C>
where B: Send, C: Send,

§

impl<E, M> Send for Capture<E, M>
where E: Send, M: Send,

§

impl<F> Send for FormatterFn<F>
where F: 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>

§

impl<I> Send for FromIter<I>
where I: 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 Intersperse<I>
where I: Send, <I as Iterator>::Item: 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 uniffi::deps::static_assertions::_core::iter::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, F, const N: usize> Send for MapWindows<I, F, N>
where F: Send, I: Send, <I as Iterator>::Item: Send,

§

impl<I, G> Send for IntersperseWith<I, G>
where G: Send, I: Send, <I as Iterator>::Item: 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<I, const N: usize> Send for uniffi::deps::static_assertions::_core::iter::ArrayChunks<I, N>
where I: Send, <I as Iterator>::Item: 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<Ptr> Send for Pin<Ptr>
where Ptr: 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 ForeignFutureResult<T>
where T: Send,

§

impl<T> Send for uniffi::deps::bytes::buf::IntoIter<T>
where T: Send,

§

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

§

impl<T> Send for uniffi::deps::bytes::buf::Take<T>
where T: Send,

§

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

§

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

§

impl<T> Send for Pending<T>

§

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

§

impl<T> Send for Empty<T>

§

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

§

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

§

impl<T> Send for Discriminant<T>

§

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

§

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

§

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

§

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

§

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

§

impl<T> Send for uniffi::deps::static_assertions::_core::result::IntoIter<T>
where T: Send,

§

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

§

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

§

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

§

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

§

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

§

impl<T, U> Send for uniffi::deps::bytes::buf::Chain<T, U>
where T: Send, U: Send,

§

impl<T, const N: usize> Send for uniffi::deps::static_assertions::_core::array::IntoIter<T, N>
where T: Send,

§

impl<T, const N: usize> Send for Mask<T, N>
where T: Send,

§

impl<T, const N: usize> Send for Simd<T, N>
where T: Send,

§

impl<T: ?Sized> Send for SyncUnsafeCell<T>
where T: Send,

§

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

§

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

§

impl<T: ?Sized> Send for Exclusive<T>
where T: Send,

§

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

§

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

§

impl<const N: usize> Send for LaneCount<N>

§

impl<const N: usize> Send for GetManyMutError<N>