pub trait LocalServiceProxyInterface: Send + Sync {
// Required methods
fn remove_service(&self) -> Result<(), Error>;
fn notify_value(
&self,
characteristic_id: u64,
peer_id: &str,
value: &[u8],
confirm: bool,
) -> Result<(), Error>;
}Required Methods§
fn remove_service(&self) -> Result<(), Error>
fn notify_value( &self, characteristic_id: u64, peer_id: &str, value: &[u8], confirm: bool, ) -> Result<(), Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".