IOBluetoothDeviceAsyncCallbacks

Trait IOBluetoothDeviceAsyncCallbacks 

Source
pub unsafe trait IOBluetoothDeviceAsyncCallbacks {
    // Provided methods
    unsafe fn remoteNameRequestComplete_status(
        &self,
        device: Option<&IOBluetoothDevice>,
        status: c_int,
    )
       where Self: Sized + Message { ... }
    unsafe fn connectionComplete_status(
        &self,
        device: Option<&IOBluetoothDevice>,
        status: c_int,
    )
       where Self: Sized + Message { ... }
    unsafe fn sdpQueryComplete_status(
        &self,
        device: Option<&IOBluetoothDevice>,
        status: c_int,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature IOBluetoothDevice only.
Expand description

Provided Methods§

Source

unsafe fn remoteNameRequestComplete_status( &self, device: Option<&IOBluetoothDevice>, status: c_int, )
where Self: Sized + Message,

Available on crate feature IOBluetoothObject only.
§Safety

device might not allow None.

Source

unsafe fn connectionComplete_status( &self, device: Option<&IOBluetoothDevice>, status: c_int, )
where Self: Sized + Message,

Available on crate feature IOBluetoothObject only.
§Safety

device might not allow None.

Source

unsafe fn sdpQueryComplete_status( &self, device: Option<&IOBluetoothDevice>, status: c_int, )
where Self: Sized + Message,

Available on crate feature IOBluetoothObject only.
§Safety

device might not allow None.

Trait Implementations§

Source§

impl ProtocolType for dyn IOBluetoothDeviceAsyncCallbacks

Available on crate feature objc2 only.
Source§

const NAME: &'static str = "IOBluetoothDeviceAsyncCallbacks"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn IOBluetoothDeviceAsyncCallbacks

Available on crate feature objc2 only.

Implementations on Foreign Types§

Source§

impl<T> IOBluetoothDeviceAsyncCallbacks for ProtocolObject<T>

Available on crate feature objc2 only.

Implementors§