IOBluetoothL2CAPChannelDelegate

Trait IOBluetoothL2CAPChannelDelegate 

Source
pub unsafe trait IOBluetoothL2CAPChannelDelegate {
    // Provided methods
    unsafe fn l2capChannelData_data_length(
        &self,
        l2cap_channel: Option<&IOBluetoothL2CAPChannel>,
        data_pointer: *mut c_void,
        data_length: usize,
    )
       where Self: Sized + Message { ... }
    unsafe fn l2capChannelOpenComplete_status(
        &self,
        l2cap_channel: Option<&IOBluetoothL2CAPChannel>,
        error: c_int,
    )
       where Self: Sized + Message { ... }
    unsafe fn l2capChannelClosed(
        &self,
        l2cap_channel: Option<&IOBluetoothL2CAPChannel>,
    )
       where Self: Sized + Message { ... }
    unsafe fn l2capChannelReconfigured(
        &self,
        l2cap_channel: Option<&IOBluetoothL2CAPChannel>,
    )
       where Self: Sized + Message { ... }
    unsafe fn l2capChannelWriteComplete_refcon_status(
        &self,
        l2cap_channel: Option<&IOBluetoothL2CAPChannel>,
        refcon: *mut c_void,
        error: c_int,
    )
       where Self: Sized + Message { ... }
    unsafe fn l2capChannelQueueSpaceAvailable(
        &self,
        l2cap_channel: Option<&IOBluetoothL2CAPChannel>,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature IOBluetoothL2CAPChannel only.
Expand description

Provided Methods§

Source

unsafe fn l2capChannelData_data_length( &self, l2cap_channel: Option<&IOBluetoothL2CAPChannel>, data_pointer: *mut c_void, data_length: usize, )
where Self: Sized + Message,

Available on crate feature IOBluetoothObject only.
§Safety
  • l2cap_channel might not allow None.
  • data_pointer must be a valid pointer.
Source

unsafe fn l2capChannelOpenComplete_status( &self, l2cap_channel: Option<&IOBluetoothL2CAPChannel>, error: c_int, )
where Self: Sized + Message,

Available on crate feature IOBluetoothObject only.
§Safety

l2cap_channel might not allow None.

Source

unsafe fn l2capChannelClosed( &self, l2cap_channel: Option<&IOBluetoothL2CAPChannel>, )
where Self: Sized + Message,

Available on crate feature IOBluetoothObject only.
§Safety

l2cap_channel might not allow None.

Source

unsafe fn l2capChannelReconfigured( &self, l2cap_channel: Option<&IOBluetoothL2CAPChannel>, )
where Self: Sized + Message,

Available on crate feature IOBluetoothObject only.
§Safety

l2cap_channel might not allow None.

Source

unsafe fn l2capChannelWriteComplete_refcon_status( &self, l2cap_channel: Option<&IOBluetoothL2CAPChannel>, refcon: *mut c_void, error: c_int, )
where Self: Sized + Message,

Available on crate feature IOBluetoothObject only.
§Safety
  • l2cap_channel might not allow None.
  • refcon must be a valid pointer.
Source

unsafe fn l2capChannelQueueSpaceAvailable( &self, l2cap_channel: Option<&IOBluetoothL2CAPChannel>, )
where Self: Sized + Message,

Available on crate feature IOBluetoothObject only.
§Safety

l2cap_channel might not allow None.

Trait Implementations§

Source§

impl ProtocolType for dyn IOBluetoothL2CAPChannelDelegate

Available on crate feature objc2 only.
Source§

const NAME: &'static str = "IOBluetoothL2CAPChannelDelegate"

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 IOBluetoothL2CAPChannelDelegate

Available on crate feature objc2 only.

Implementations on Foreign Types§

Source§

impl<T> IOBluetoothL2CAPChannelDelegate for ProtocolObject<T>

Available on crate feature objc2 only.

Implementors§