pub trait Gatt {
// Required method
async fn run<T>(&mut self, task: T) -> Result<(), Error>
where T: GattTask;
}Expand description
A trait for running a task within a context where the BLE peripheral is initialized and operable (e.g. the first part of a non-concurrent commissioning workflow)
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".