pub trait BuzzerClient {
// Required method
fn buzzer_done(&self, status: Result<(), ErrorCode>);
}Required Methods§
Sourcefn buzzer_done(&self, status: Result<(), ErrorCode>)
fn buzzer_done(&self, status: Result<(), ErrorCode>)
Called when the current sound played by the buzzer has finished or it was stopped.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".