Structurepureswift.bluetooth 7.2.0Bluetooth
L2CAPSocketStatus
L2CAP Socket Status
struct L2CAPSocketStatus<Error> where Error : Error
L2CAP Socket Status
struct L2CAPSocketStatus<Error> where Error : Error
import Bluetooth
Pure Swift Bluetooth Definitions.
protocol Error : Sendable
A type representing an error value that can be thrown.
protocol Sendable
init(send: Bool = false, recieve: Bool = false, accept: Bool = false, error: Error? = nil)
var accept: Bool
Socket has a pending new connection.
var error: Error?
Socket encountered an error.
var recieve: Bool
Socket is ready for a read operation.
var send: Bool
Socket is ready for a write operation.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Equatable
A type that can be compared for value equality.
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol Escapable
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.