Sendable
The Sendable protocol indicates that value of the given type can be safely used in concurrent code.
protocol Sendable
The Sendable protocol indicates that value of the given type can be safely used in concurrent code.
protocol Sendable
AST.Atom.AssertionKind
AST.Atom.CharacterProperty.Kind
AST.Atom.CharacterProperty.PCRESpecialCategory
AST.Atom.EscapedBuiltin
AST.CustomCharacterClass.SetOp
AST.CustomCharacterClass.Start
AST.Quantification.Kind
AST.Reference.Kind
Array
When Element
conforms to Sendable
ArraySlice
When Element
conforms to Sendable
AsyncCompactMapSequence
When Base
conforms to Sendable
, Base
conforms to AsyncSequence
, ElementOfResult
conforms to Sendable
, and Base.Element
conforms to Sendable
AsyncCompactMapSequence.Iterator
When Base
conforms to AsyncSequence
, ElementOfResult
conforms to Sendable
, Base.AsyncIterator
conforms to Sendable
, and Base.Element
conforms to Sendable
AsyncDropFirstSequence
When Base
conforms to Sendable
, Base
conforms to AsyncSequence
, and Base.Element
conforms to Sendable
AsyncDropFirstSequence.Iterator
When Base
conforms to AsyncSequence
, Base.AsyncIterator
conforms to Sendable
, and Base.Element
conforms to Sendable
AsyncDropWhileSequence
When Base
conforms to Sendable
, Base
conforms to AsyncSequence
, and Base.Element
conforms to Sendable
AsyncDropWhileSequence.Iterator
When Base
conforms to AsyncSequence
, Base.AsyncIterator
conforms to Sendable
, and Base.Element
conforms to Sendable
AsyncFilterSequence
When Base
conforms to Sendable
, Base
conforms to AsyncSequence
, and Base.Element
conforms to Sendable
AsyncFilterSequence.Iterator
When Base
conforms to AsyncSequence
, Base.AsyncIterator
conforms to Sendable
, and Base.Element
conforms to Sendable
AsyncFlatMapSequence
When Base
conforms to Sendable
, Base
conforms to AsyncSequence
, SegmentOfResult
conforms to Sendable
, SegmentOfResult
conforms to AsyncSequence
, Base.Element
conforms to Sendable
, and SegmentOfResult.Element
conforms to Sendable
AsyncFlatMapSequence.Iterator
When Base
conforms to AsyncSequence
, SegmentOfResult
conforms to Sendable
, SegmentOfResult
conforms to AsyncSequence
, Base.AsyncIterator
conforms to Sendable
, Base.Element
conforms to Sendable
, SegmentOfResult.AsyncIterator
conforms to Sendable
, and SegmentOfResult.Element
conforms to Sendable
AsyncMapSequence
When Base
conforms to Sendable
, Base
conforms to AsyncSequence
, Transformed
conforms to Sendable
, and Base.Element
conforms to Sendable
AsyncMapSequence.Iterator
When Base
conforms to AsyncSequence
, Transformed
conforms to Sendable
, Base.AsyncIterator
conforms to Sendable
, and Base.Element
conforms to Sendable
AsyncPrefixSequence
When Base
conforms to Sendable
, Base
conforms to AsyncSequence
, and Base.Element
conforms to Sendable
AsyncPrefixSequence.Iterator
When Base
conforms to AsyncSequence
, Base.AsyncIterator
conforms to Sendable
, and Base.Element
conforms to Sendable
AsyncPrefixWhileSequence
When Base
conforms to Sendable
, Base
conforms to AsyncSequence
, and Base.Element
conforms to Sendable
AsyncPrefixWhileSequence.Iterator
When Base
conforms to AsyncSequence
, Base.AsyncIterator
conforms to Sendable
, and Base.Element
conforms to Sendable
AsyncStream
When Element
conforms to Sendable
AsyncStream.Continuation
AsyncThrowingCompactMapSequence
When Base
conforms to Sendable
, Base
conforms to AsyncSequence
, and Base.Element
conforms to Sendable
AsyncThrowingCompactMapSequence.Iterator
When Base
conforms to AsyncSequence
, Base.AsyncIterator
conforms to Sendable
, and Base.Element
conforms to Sendable
AsyncThrowingDropWhileSequence
When Base
conforms to Sendable
, Base
conforms to AsyncSequence
, and Base.Element
conforms to Sendable
AsyncThrowingDropWhileSequence.Iterator
When Base
conforms to AsyncSequence
, Base.AsyncIterator
conforms to Sendable
, and Base.Element
conforms to Sendable
AsyncThrowingFilterSequence
When Base
conforms to Sendable
, Base
conforms to AsyncSequence
, and Base.Element
conforms to Sendable
AsyncThrowingFilterSequence.Iterator
When Base
conforms to AsyncSequence
, Base.AsyncIterator
conforms to Sendable
, and Base.Element
conforms to Sendable
AsyncThrowingFlatMapSequence
When Base
conforms to Sendable
, Base
conforms to AsyncSequence
, SegmentOfResult
conforms to Sendable
, SegmentOfResult
conforms to AsyncSequence
, Base.Element
conforms to Sendable
, and SegmentOfResult.Element
conforms to Sendable
AsyncThrowingFlatMapSequence.Iterator
When Base
conforms to AsyncSequence
, SegmentOfResult
conforms to Sendable
, SegmentOfResult
conforms to AsyncSequence
, Base.AsyncIterator
conforms to Sendable
, Base.Element
conforms to Sendable
, SegmentOfResult.AsyncIterator
conforms to Sendable
, and SegmentOfResult.Element
conforms to Sendable
AsyncThrowingMapSequence
When Base
conforms to Sendable
, Base
conforms to AsyncSequence
, Transformed
conforms to Sendable
, and Base.Element
conforms to Sendable
AsyncThrowingMapSequence.Iterator
When Base
conforms to AsyncSequence
, Transformed
conforms to Sendable
, Base.AsyncIterator
conforms to Sendable
, and Base.Element
conforms to Sendable
AsyncThrowingPrefixWhileSequence
When Base
conforms to Sendable
, Base
conforms to AsyncSequence
, and Base.Element
conforms to Sendable
AsyncThrowingPrefixWhileSequence.Iterator
When Base
conforms to AsyncSequence
, Base.AsyncIterator
conforms to Sendable
, and Base.Element
conforms to Sendable
AsyncThrowingStream
When Element
conforms to Sendable
and Failure
conforms to Error
AsyncThrowingStream.Continuation
Bool
ByteBuffer.CopyBytesError
ByteBuffer.LengthPrefixError
ByteToMessageDecoderError
ByteToMessageDecoderError.PayloadTooLargeError
CVaListPointer
CancellationError
ChannelError
ChannelPipelineError
Character
CheckedContinuation
ClosedRange
When Bound
conforms to Comparable
and Bound
conforms to Sendable
ClosedRange.Index
When Bound
conforms to Sendable
, Bound
conforms to Strideable
, and Bound.Stride
conforms to SignedInteger
CodingUserInfoKey
CollectionDifference
When ChangeElement
conforms to Sendable
CollectionDifference.Change
When ChangeElement
conforms to Sendable
CollectionDifference.Index
When ChangeElement
conforms to Sendable
CollectionOfOne
When Element
conforms to Sendable
CollectionOfOne.Iterator
When Element
conforms to Sendable
CommandLine
ContiguousArray
When Element
conforms to Sendable
ContinuousClock
ContinuousClock.Instant
DecodingError
DecodingError.Context
DefaultIndices
When Elements
conforms to Collection
, Elements
conforms to Sendable
, and Elements.Index
conforms to Sendable
DefaultStringInterpolation
Dictionary
When Key
conforms to Hashable
, Key
conforms to Sendable
, and Value
conforms to Sendable
Dictionary.Index
When Key
conforms to Hashable
, Key
conforms to Sendable
, and Value
conforms to Sendable
Dictionary.Iterator
When Key
conforms to Hashable
, Key
conforms to Sendable
, and Value
conforms to Sendable
Dictionary.Keys
When Key
conforms to Hashable
, Key
conforms to Sendable
, and Value
conforms to Sendable
Dictionary.Keys.Iterator
When Key
conforms to Hashable
, Key
conforms to Sendable
, and Value
conforms to Sendable
Dictionary.Values
When Key
conforms to Hashable
, Key
conforms to Sendable
, and Value
conforms to Sendable
Dictionary.Values.Iterator
When Key
conforms to Hashable
, Key
conforms to Sendable
, and Value
conforms to Sendable
DistributedActorCodingError
Double
Double.SIMD16Storage
Double.SIMD2Storage
Double.SIMD32Storage
Double.SIMD4Storage
Double.SIMD64Storage
Double.SIMD8Storage
Duration
EmbeddedChannel.WrongTypeError
EmptyCollection
EmptyCollection.Iterator
EncodingError
EncodingError.Context
Errno
EventLoopError
EventLoopFuture
EventLoopPromise
ExecuteDistributedTargetError
FileDescriptor
FileDescriptor.AccessMode
FileDescriptor.OpenOptions
FileDescriptor.SeekOrigin
FilePermissions
Float
Float.SIMD16Storage
Float.SIMD2Storage
Float.SIMD32Storage
Float.SIMD4Storage
Float.SIMD64Storage
Float.SIMD8Storage
Float16
Float16.SIMD16Storage
Float16.SIMD2Storage
Float16.SIMD32Storage
Float16.SIMD4Storage
Float16.SIMD64Storage
Float16.SIMD8Storage
Float80
FloatingPointClassification
FloatingPointRoundingRule
FloatingPointSign
Grammar.Expected
Grammar.ExpectedRegion
Grammar.IntegerOverflowError
Grammar.NoDiagnostics
HTTPParserError
HTTPServerUpgradeErrors
Hasher
IOError
IndexingIterator
When Elements
conforms to Collection
, Elements
conforms to Sendable
, and Elements.Index
conforms to Sendable
Int
Int.SIMD16Storage
Int.SIMD2Storage
Int.SIMD32Storage
Int.SIMD4Storage
Int.SIMD64Storage
Int.SIMD8Storage
Int.Words
Int16
Int16.SIMD16Storage
Int16.SIMD2Storage
Int16.SIMD32Storage
Int16.SIMD4Storage
Int16.SIMD64Storage
Int16.SIMD8Storage
Int16.Words
Int32
Int32.SIMD16Storage
Int32.SIMD2Storage
Int32.SIMD32Storage
Int32.SIMD4Storage
Int32.SIMD64Storage
Int32.SIMD8Storage
Int32.Words
Int64
Int64.SIMD16Storage
Int64.SIMD2Storage
Int64.SIMD32Storage
Int64.SIMD4Storage
Int64.SIMD64Storage
Int64.SIMD8Storage
Int64.Words
Int8
Int8.SIMD16Storage
Int8.SIMD2Storage
Int8.SIMD32Storage
Int8.SIMD4Storage
Int8.SIMD64Storage
Int8.SIMD8Storage
Int8.Words
IteratorSequence
When Base
conforms to IteratorProtocol
and Base
conforms to Sendable
JSON
JSON.IntegerOverflowError
JSON.InvalidUnicodeScalarError
JSON.LintingDictionary
JSON.LintingError
JSON.Number
JSON.PrimitiveError
JSON.RecursiveError
KeyValuePairs
When Key
conforms to Sendable
and Value
conforms to Sendable
LocalTestingActorAddress
LocalTestingDistributedActorSystem
LocalTestingDistributedActorSystemError
MainActor
ManagedBufferPointer
MemoryLayout
Mirror.DisplayStyle
NIOAttemptedToRemoveHandlerMultipleTimesError
NIOConnectionError
NIOFailedToSetSocketNonBlockingError
NIOFcntlFailedError
NIOHTTPClientUpgradeError
NIOHTTPDecoderError
NIOHTTPObjectAggregatorError
NIOMulticastNotImplementedError
NIOMulticastNotSupportedError
NIOThreadPoolError.ThreadPoolInactive
NIOTooManyBytesError
NIOWebSocketError
NIOWebSocketFrameAggregator.Error
NIOWebSocketUpgradeError
Never
NonBlockingFileIO.Error
ObjectIdentifier
OnigurumaSpecialProperty
OpaquePointer
Optional
When Wrapped
conforms to Sendable
ParserError
ParsingError
PartialRangeFrom
When Bound
conforms to Comparable
and Bound
conforms to Sendable
PartialRangeFrom.Iterator
When Bound
conforms to Sendable
, Bound
conforms to Strideable
, and Bound.Stride
conforms to SignedInteger
PartialRangeThrough
When Bound
conforms to Comparable
and Bound
conforms to Sendable
PartialRangeUpTo
When Bound
conforms to Comparable
and Bound
conforms to Sendable
Range
When Bound
conforms to Comparable
and Bound
conforms to Sendable
RegexCompilationError
Repeated
When Element
conforms to Sendable
Result
When Success
conforms to Sendable
and Failure
conforms to Error
SIMD16
When Scalar
conforms to SIMDScalar
, Scalar
conforms to Sendable
, and Scalar.SIMD16Storage
conforms to Sendable
SIMD2
When Scalar
conforms to SIMDScalar
, Scalar
conforms to Sendable
, and Scalar.SIMD2Storage
conforms to Sendable
SIMD3
When Scalar
conforms to SIMDScalar
, Scalar
conforms to Sendable
, and Scalar.SIMD4Storage
conforms to Sendable
SIMD32
When Scalar
conforms to SIMDScalar
, Scalar
conforms to Sendable
, and Scalar.SIMD32Storage
conforms to Sendable
SIMD4
When Scalar
conforms to SIMDScalar
, Scalar
conforms to Sendable
, and Scalar.SIMD4Storage
conforms to Sendable
SIMD64
When Scalar
conforms to SIMDScalar
, Scalar
conforms to Sendable
, and Scalar.SIMD64Storage
conforms to Sendable
SIMD8
When Scalar
conforms to SIMDScalar
, Scalar
conforms to Sendable
, and Scalar.SIMD8Storage
conforms to Sendable
Set
When Element
conforms to Hashable
and Element
conforms to Sendable
Set.Index
When Element
conforms to Hashable
and Element
conforms to Sendable
Set.Iterator
When Element
conforms to Hashable
and Element
conforms to Sendable
Slice
When Base
conforms to Collection
, Base
conforms to Sendable
, and Base.Index
conforms to Sendable
SocketAddressError
SocketAddressError.FailedToParseIPByteBuffer
Source.LocatedError
StaticString
StrideThrough
When Element
conforms to Sendable
, Element
conforms to Strideable
, and Element.Stride
conforms to Sendable
StrideThroughIterator
When Element
conforms to Sendable
, Element
conforms to Strideable
, and Element.Stride
conforms to Sendable
StrideTo
When Element
conforms to Sendable
, Element
conforms to Strideable
, and Element.Stride
conforms to Sendable
StrideToIterator
When Element
conforms to Sendable
, Element
conforms to Strideable
, and Element.Stride
conforms to Sendable
String
String.Index
String.Iterator
String.UTF16View
String.UTF16View.Iterator
String.UTF8View
String.UnicodeScalarView
String.UnicodeScalarView.Iterator
Substring
Substring.UTF16View
Substring.UTF8View
Substring.UnicodeScalarView
SuspendingClock
SuspendingClock.Instant
SyntaxVerifierError
SystemRandomNumberGenerator
Task
TaskGroup
When ChildTaskResult
conforms to Sendable
TaskLocal
TaskPriority
ThrowingTaskGroup
When ChildTaskResult
conforms to Sendable
and Failure
conforms to Error
UInt
UInt.SIMD16Storage
UInt.SIMD2Storage
UInt.SIMD32Storage
UInt.SIMD4Storage
UInt.SIMD64Storage
UInt.SIMD8Storage
UInt.Words
UInt16
UInt16.SIMD16Storage
UInt16.SIMD2Storage
UInt16.SIMD32Storage
UInt16.SIMD4Storage
UInt16.SIMD64Storage
UInt16.SIMD8Storage
UInt16.Words
UInt32
UInt32.SIMD16Storage
UInt32.SIMD2Storage
UInt32.SIMD32Storage
UInt32.SIMD4Storage
UInt32.SIMD64Storage
UInt32.SIMD8Storage
UInt32.Words
UInt64
UInt64.SIMD16Storage
UInt64.SIMD2Storage
UInt64.SIMD32Storage
UInt64.SIMD4Storage
UInt64.SIMD64Storage
UInt64.SIMD8Storage
UInt64.Words
UInt8
UInt8.SIMD16Storage
UInt8.SIMD2Storage
UInt8.SIMD32Storage
UInt8.SIMD4Storage
UInt8.SIMD64Storage
UInt8.SIMD8Storage
UInt8.Words
UnboundedRange_
Unicode
Unicode.ASCII
Unicode.ASCII.Parser
Unicode.BinaryProperty
Unicode.CanonicalCombiningClass
Unicode.ExtendedGeneralCategory
Unicode.GeneralCategory
Unicode.NumericType
Unicode.POSIXProperty
Unicode.ParseResult
When T
conforms to Sendable
Unicode.Scalar
Unicode.Scalar.Properties
Unicode.Scalar.UTF16View
Unicode.Scalar.UTF8View
Unicode.Script
Unicode.UTF16
Unicode.UTF16.ForwardParser
Unicode.UTF16.ReverseParser
Unicode.UTF32
Unicode.UTF32.Parser
Unicode.UTF8
Unicode.UTF8.ForwardParser
Unicode.UTF8.ReverseParser
UnicodeDecodingResult
UnixDomainSocketPathWrongType
Unmanaged
When Instance
conforms to Sendable
UnownedJob
UnownedSerialExecutor
Unreachable
UnsafeBufferPointer
UnsafeBufferPointer.Iterator
UnsafeContinuation
UnsafeCurrentTask
UnsafeMutableBufferPointer
UnsafeMutablePointer
UnsafeMutableRawBufferPointer
UnsafeMutableRawPointer
UnsafePointer
UnsafeRawBufferPointer
UnsafeRawBufferPointer.Iterator
UnsafeRawPointer
Unsupported