kernel::hil::radioTrait PowerClient
Source pub trait PowerClient {
// Required method
fn changed(&self, on: bool);
}
Expand description
Client for callbacks when the radio’s power state changes.
The power state of the radio changed. This is called when the radio has
turned on or off.
§Arguments
on
: True if the radio is now on. False otherwise.