pub trait GattTask {
// Required method
async fn run<P>(&mut self, peripheral: P) -> Result<(), Error>
where P: GattPeripheral;
}Expand description
A trait representing a task that needs access to the BLE GATT peripheral to perform its work (e.g. the first part of a non-concurrent commissioning flow)
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".