mirror of
https://github.com/apple/swift-nio
synced 2026-11-30 05:28:44 +00:00
Adopt Sendable in NIOFoundationCompat (#2203)
This commit is contained in:
1 parent
b73fc4e90d
commit
48f4e2978f
1 file changed
+1
-1
@@ -39,7 +39,7 @@ public enum ByteBufferFoundationError: Error {
|
||||
|
||||
extension ByteBuffer {
|
||||
/// Controls how bytes are transferred between `ByteBuffer` and other storage types.
|
||||
public enum ByteTransferStrategy {
|
||||
public enum ByteTransferStrategy: NIOSendable {
|
||||
/// Force a copy of the bytes.
|
||||
case copy
|
||||
|
||||
|
||||
Reference in new issue
Block a user