pub trait HfpTestProxyInterface: Send + Sync {
// Required methods
fn battery_indicator(&self, level: u8) -> Result<(), Error>;
fn set_connection_behavior(
&self,
behavior: &ConnectionBehavior,
) -> Result<(), Error>;
}Required Methods§
fn battery_indicator(&self, level: u8) -> Result<(), Error>
fn set_connection_behavior( &self, behavior: &ConnectionBehavior, ) -> Result<(), Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".