Skip to main content

ConfigClient

Trait ConfigClient 

Source
pub trait ConfigClient {
    // Required method
    fn config_done(&self, result: Result<(), ErrorCode>);
}
Expand description

Client for callbacks after the radio is configured.

Required Methods§

Source

fn config_done(&self, result: Result<(), ErrorCode>)

Configuring the radio has finished.

§Arguments
  • result: Status of the configuration procedure. Ok(()) if all options were set as expected. On Err(), valid errors are:
    • ErrorCode::FAIL: Internal error occurred.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§