Skip to main content

HfpTestProxyInterface

Trait HfpTestProxyInterface 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§