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§
Sourceunsafe fn l2capChannelData_data_length(
&self,
l2cap_channel: Option<&IOBluetoothL2CAPChannel>,
data_pointer: *mut c_void,
data_length: usize,
)
Available on crate feature IOBluetoothObject only.
unsafe fn l2capChannelData_data_length( &self, l2cap_channel: Option<&IOBluetoothL2CAPChannel>, data_pointer: *mut c_void, data_length: usize, )
IOBluetoothObject only.§Safety
l2cap_channelmight not allowNone.data_pointermust be a valid pointer.
Sourceunsafe fn l2capChannelOpenComplete_status(
&self,
l2cap_channel: Option<&IOBluetoothL2CAPChannel>,
error: c_int,
)
Available on crate feature IOBluetoothObject only.
unsafe fn l2capChannelOpenComplete_status( &self, l2cap_channel: Option<&IOBluetoothL2CAPChannel>, error: c_int, )
IOBluetoothObject only.§Safety
l2cap_channel might not allow None.
Sourceunsafe fn l2capChannelClosed(
&self,
l2cap_channel: Option<&IOBluetoothL2CAPChannel>,
)
Available on crate feature IOBluetoothObject only.
unsafe fn l2capChannelClosed( &self, l2cap_channel: Option<&IOBluetoothL2CAPChannel>, )
IOBluetoothObject only.§Safety
l2cap_channel might not allow None.
Sourceunsafe fn l2capChannelReconfigured(
&self,
l2cap_channel: Option<&IOBluetoothL2CAPChannel>,
)
Available on crate feature IOBluetoothObject only.
unsafe fn l2capChannelReconfigured( &self, l2cap_channel: Option<&IOBluetoothL2CAPChannel>, )
IOBluetoothObject only.§Safety
l2cap_channel might not allow None.
Sourceunsafe fn l2capChannelWriteComplete_refcon_status(
&self,
l2cap_channel: Option<&IOBluetoothL2CAPChannel>,
refcon: *mut c_void,
error: c_int,
)
Available on crate feature IOBluetoothObject only.
unsafe fn l2capChannelWriteComplete_refcon_status( &self, l2cap_channel: Option<&IOBluetoothL2CAPChannel>, refcon: *mut c_void, error: c_int, )
IOBluetoothObject only.§Safety
l2cap_channelmight not allowNone.refconmust be a valid pointer.
Sourceunsafe fn l2capChannelQueueSpaceAvailable(
&self,
l2cap_channel: Option<&IOBluetoothL2CAPChannel>,
)
Available on crate feature IOBluetoothObject only.
unsafe fn l2capChannelQueueSpaceAvailable( &self, l2cap_channel: Option<&IOBluetoothL2CAPChannel>, )
IOBluetoothObject only.§Safety
l2cap_channel might not allow None.
Trait Implementations§
Source§impl ProtocolType for dyn IOBluetoothL2CAPChannelDelegate
Available on crate feature objc2 only.
impl ProtocolType for dyn IOBluetoothL2CAPChannelDelegate
Available on crate feature
objc2 only.impl<T> ImplementedBy<T> for dyn IOBluetoothL2CAPChannelDelegate
Available on crate feature
objc2 only.Implementations on Foreign Types§
impl<T> IOBluetoothL2CAPChannelDelegate for ProtocolObject<T>where
T: ?Sized + IOBluetoothL2CAPChannelDelegate,
Available on crate feature
objc2 only.