Skip to main content

SoundPressureClient

Trait SoundPressureClient 

Source
pub trait SoundPressureClient {
    // Required method
    fn callback(&self, ret: Result<(), ErrorCode>, sound_pressure: u8);
}

Required Methods§

Source

fn callback(&self, ret: Result<(), ErrorCode>, sound_pressure: u8)

Signals the sound pressure in dB

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§