pub trait CharacteristicNotifierProxyInterface: Send + Sync {
type OnNotificationResponseFut: Future<Output = Result<(), Error>> + Send;
// Required method
fn on_notification(
&self,
value: &ReadValue,
) -> Self::OnNotificationResponseFut;
}Required Associated Types§
Required Methods§
fn on_notification(&self, value: &ReadValue) -> Self::OnNotificationResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".