Skip to main content

BuzzerClient

Trait BuzzerClient 

Source
pub trait BuzzerClient {
    // Required method
    fn buzzer_done(&self, status: Result<(), ErrorCode>);
}

Required Methods§

Source

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".

Implementors§