Skip to main content

CharacteristicNotifierProxyInterface

Trait CharacteristicNotifierProxyInterface 

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

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§