Enumerationswift-nio 2.72.0NIOFoundationCompat
ByteBufferFoundationError
Errors that may be thrown by ByteBuffer methods that call into Foundation.
ByteBuffer-foundation.swift:19enum ByteBufferFoundationError
Cases
case failedToEncodeString
Attempting to encode the given string failed.
Citizens in NIOFoundationCompat
Conformances
protocol Equatable
A type that can be compared for value equality.
protocol Error
A type representing an error value that can be thrown.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol Sendable
A type whose values can safely be passed across concurrency domains by copying.
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.
Instance features
var localizedDescription: String
Retrieve the localized description for this error.